WebSocket

A protocol that provides full-duplex communication channels over a single TCP connection.

WebSocket is a communication protocol that provides full-duplex communication channels over a single TCP connection.

It is designed to be implemented in web browsers and web servers but can be used by any client or server application.

For example, WebSockets are used for live chat applications where data needs to be sent and received simultaneously.