TCP三次握手和四次握手

TCP三次握手建立连接

TCP三次握手

发生的事件:

  • Host A sends a TCP SYNchronize packet to Host B
  • Host B receives A’s SYN
  • Host B sends a SYNchronize-ACKnowledgement
  • Host A receives B’s SYN-ACK
  • Host A sends ACKnowledge
  • Host B receives ACK.
  • TCP socket connection is ESTABLISHED.

TCP四次握手释放连接

TCP4次握手释放连接.png

赏杯咖啡 🍵 Donate