websocet
Websocket was created in 2008, became an international standard in 2011, and is now supported by all browsers. It is a brand new application layer protocol, which is a true full-duplex communication protocol specially designed for Web clients and servers.
· The protocol identifier of HTTP is HTTP, and that of Websocket is WS
· HTTP requests can only be initiated by the client. The server cannot actively push messages to the client, but WebSocket can
· HTTP requests have homology restrictions, and communication between different sources needs to cross domains, while Websocket has no homology restrictions
· Both are communication protocols of the application layer
· The default port is the same, 80 or 443
· Both can be used for communication between browser and server
· All based on TCP protocol
· tools.ietf.org/html/rfc645…
, www.ruanyifeng.com/blog/2017/0…
“Netease Smart Enterprise Technology +”. Series of courses in advance, free gifts, but also direct conversations with CTO.