What Is WebSocket Protocol

Q

What is WebSocket Protocol?

✍: FYIcenter.com

A

The WebSocket Protocol is networking communication specification that enables Web pages to use the WebSocket protocol for two-way communication with the Website.

WebSocket protocol is designed to be implemented in web browsers and web servers, but it can be used by any client or server application. The WebSocket Protocol is an independent TCP-based protocol. Its only relationship to HTTP is that its handshake is interpreted by HTTP servers as an Upgrade request. The WebSocket protocol enables interaction between a browser and a web server with lower overheads, facilitating real-time data transfer from and to the server. This is made possible by providing a standardized way for the server to send content to the browser without being solicited by the client, and allowing for messages to be passed back and forth while keeping the connection open. In this way, a two-way (bi-directional) ongoing conversation can take place between a browser and the server.

The current version the WebSocket protocol is specified by RFC 6455: The WebSocket Protocol.

 

Downloading and Reviewing WebSocket.jar

⇒⇒FAQ for WebSocket API

2018-01-27, 383👍, 0💬