I. Introduction of WebSockets
in a literal sense, a handshake can be defined as two people holding and shaking hands, symbolizing greetings, congratulations, consents or goodbyes. in Computer science, a handshake is the process of ensuring that the server synchronizes with the client. Handshake is the basic concept of the Web socket protocol.
Shows the server handshake with various clients:
Web Sockets-Definitions
A web socket is defined as two-way communication between a server and a client, which means that both parties communicate and exchange data simultaneously.
the key point of Web sockets is true Concurrency and the Performance Optimization , resulting in a more sensitive and richer Web application.
description of the Web socket protocol
the protocol defines full-duplex communication from the beginning. Web sockets take a big step forward by bringing desktop-rich features into the Web browser. It represents an evolution that has been around for a long time in client/server Web technology.
The main features of the network sockets are as follows:
The Web sockets protocol is being standardized, which means that with the help of this protocol, real-time communication between the Web server and the client is possible.
Web sockets are being transformed into cross-platform standards for real-time communication between clients and servers.
This standard allows for new applications. The business of real-time Web applications can speed up with this technology.
The biggest advantage of a WEB socket is that it provides two-way communication (full duplex) through a single TCP connection.
website
HTTP has its own set of patterns, such as HTTP and HTTPS. the Web socket protocol also has a similar pattern defined in its URL pattern.
Displays the Web Socket URL in the token.
Browser Support
the latest specification for the WEB socket protocol is defined as RFC 6455 -A proposed standard.
RFC 6455 supported by various browsers such as Internet Explorer,mozilla Firefox,google Chrome,safari and opera.
WebSockets Tutorial (Tutorial i) ———— WebSockets introduction