CodePudding user response:
No, is a more just,CodePudding user response:
The process of three-way handshake:First by the Client request to connect the SYN ACK=0=1 (please see head field), regulations on TCP SYN=1 when not carry data, but consumes a serial number, and declare his serial number is seq=x
Then the Server reply to confirm that the SYN ACK=1=1 seq=y, ACK=x + 1,
Then the Client again to confirm, but need not SYN, at this moment is the ACK=1, seq=x + 1, ACK=y + 1.
CodePudding user response:
So profound explanationCodePudding user response:
Client request connection ACK=0 (or in some teaching materials at first request without an ACK)Server responded to ACK=1 (said received confirmation)
The Client again confirm ACK=1 (said received confirmation)
If the simple understanding, seq just serial number, ack is to ensure that the two sides to communicate,
CodePudding user response:
The purpose of the TCP three-way handshake:1. Make sure each other to know oneself is can communication,
2. Make sure can be communication,
To achieve these two purposes, need four message:
1. 1 told his each other can communication message
1.2 the other feedback aware of their own communication message
2.1 the other party told that their communication message
2.2 their feedback has clearly each other in the state of can communication
With 1.2 and 2.1 can be combined into one packet,
Thus the TCP need three-way handshake,
CodePudding user response:
Three-way handshake is to establish a reliable communicationCodePudding user response: