sahilrajput03 / learn-websockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Websockets

FYI: helloworld-socket.io is deployed @ https://elegant-chat-app.herokuapp.com/.

src: https://www.youtube.com/watch?v=1BfCnjr_Vjg&t=3s

Merged repo:

  • sahilrajput03/web-rtc into OLDER_STUFF directory.

Connection Initiation:

  • When client sends a request to server for websocket connection, server responds with 101 HTTP response and the handshake is complete.
  • At this point tcp/ip connection is left open allowing bi-directional messaging to be done with very low latency.
  • The connection is left open until one of the parties is left off.
  • Its also known as full-duplex connection in telecommunication terms that means both parties can talk at the same time.

More

Yet another page of mine on webrtc projects resources

Q. WebSockets is same as WebRTC?

Q. Amazing Question: Differences between io.to(), io.in(), and socket.to() for emitting to all clients in a room

Click here

Reading docs of Socket.io

About


Languages

Language:JavaScript 78.9%Language:HTML 17.6%Language:EJS 1.8%Language:CSS 1.3%Language:Shell 0.4%Language:Procfile 0.0%