Three grip computer network ------- TCP protocol four-play

When the TCP protocol communication, there is a connection (three-way handshake) , data exchange, releases the connection (four wave) .

Three grip: the image of the scene described a phone call 

A (Client): Buddy, can hear it? Shane get in?     

 B (Server): I can hear hear, like you, can you hear it?   

 A (Client): listen, ah, I miss you.

 

 

 

 

Four play: image description 

A (Client): I do not have data to send, you can disconnect the 
 B (Server): Well, you send the data I have been received 
 B (Server): I have no data can be sent, you can disconnect the 
 a (Client): well, then broke it

 

 

 

Recommended Bowen!

 

Guess you like

Origin www.cnblogs.com/xbfchder/p/11441379.html