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.