WebSocket is a computer communications protocol
, providing full-duplex communication
channels over a single TCP connection
WebSocket protocol was standardized by the IETF as RFC 6455 in 2011, and the WebSocket API in Web IDL Interface Description Language IDL is being standardized by the W3C.
WebSocket protocol is designed to function as an intermediary in the Client-server relationship and is based largely upon TC with additional HTTP functionality baked in.
WebSocket was designed from the ground up to support standardized communication with low overhead and optimized throughput. This is compounded through the utilization of standard web traffic ports, which means that it’s often useful in environments where non-traditional non-web-based communication systems are otherwise blocked or limited.
WebSocket is supported by all major browsers natively – a big selling point for any Web API.
There might be more information for this subject on one of the following:
- - WebSocket - based on information obtained 2019-07-03