WebSocket enables simultaneous sending and receiving of messages by both client and server. By supporting two-way communication, WebSocket allows us to develop real-time applications where a server sends updates to a client whenever necessary. It also reduces communication overhead by eliminating the need for the 3-way handshake for each communication.

10m read timeFrom javascript.plainenglish.io
Post cover image
Table of contents
WebSocket: An In-Depth Beginner’s GuideRevisiting the TCP/IP ModelTheory of WebSocketWebSocket enabled Application Development
2 Comments

Sort: