Three handshakes and four waves

1. Three-way handshake [establish a connection]

a) The client initiates a connection request to the server

b) The server responds to the request and returns it to the client

c) The client reflects the receiving status to the server

Two or four waved [disconnect]

a) The client initiates a disconnect request to the server

b) The server receives the request

c) The server responds to the client (continue to complete what the server needs to process, and respond to the client after the processing is complete)

d) The client reflects the receiving status to the server

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325647345&siteId=291194637