Networking
networking
web
real-time
What is WebSocket?
Definition
WebSocket is a communication protocol that provides full-duplex (two-way) communication over a single TCP connection. Unlike HTTP's request-response model, WebSocket allows the server to push data to the client at any time.
Why It Matters
WebSocket powers real-time features: live chat, multiplayer games, stock tickers, collaborative editing, and notifications. It is more efficient than HTTP polling for applications that need instant updates.