Web sockets are defined as two-way communication between the servers and clients, which means both parties can communicate and exchange data at the same time. WebSockets are the alternative to HTTP communication in the Web Applications. They offer a long-lived, bidirectional communication channel between the client and the server. Once established, the channel is kept open, offering a high-speed connection with low latency and overhead.

Getting Started With WebSockets

Web socket protocol is being standardized, and it is becoming a real-time communication between web servers and clients.

Web sockets are transforming to cross-platform standard for real-time communication between a client and the server. The HTTP protocol has its own set of schemas such as the http and https. Web socket protocol also has a similar kind schema defined in its URL pattern.

Web Socket is the independent TCP-based protocol, but it is designed to support any other protocol as well that would traditionally run only on top of the pure TCP connection.

#node.js #http #websockets #javascript

Getting Started With WebSockets | Websockets and Node.js
1.80 GEEK