table of Contents
Introduction to TCP data segment
Reliability data transport mechanism section
1. The three-way handshake - the basic conditions for reliable transmission
4. timeout retransmission mechanism
The reliability of the data segment to accept the mechanism
1. The correct data segment to accept the acknowledgment mechanism
2. The data receiving end removes the TCP segment is correct recombinant TCP segment
Data, selectively receiving mechanism
https://edu.csdn.net/course/play/1593/24579
Introduction to TCP data segment
Reliability data transport mechanism section
1. The three-way handshake - the basic conditions for reliable transmission
2. byte numbering scheme
Data segment, the next byte segment of the segment ID followed by the byte sequence number
3. sliding window mechanism
Ensure that data sent will not overflow
4. timeout retransmission mechanism
Ensure that the mechanism did not receive overtime can resend
Reliability accepted mechanism
1. The correct data segment to accept the acknowledgment mechanism
Continuous data segment to confirm, 201,101,301 is continuous, missing 401;
Therefore, the field of acknowledgment value 401
2. The data receiving end removes the TCP segment is correct recombinant TCP segment
Remove the head the longest 60 bytes;
The main interest of the data segments;
Data, selectively receiving mechanism
Avoid large accept duplicate data segments