Skip to content

sahilrajput03/learn-websockets

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published