TCP link establishment to release process
A little problem, haha. The following describes my understanding of this image. The two vertical bars indicate the order of time between the two ends of the communication, one client and one server. Because data takes time from one end to the other, so the arrows in the figure are oblique. The segments sent by both parties are numbered 1-10 in chronological order. Data Segment 1: SYN indicates the request to establish a connection. 1000 is the initial value of the client's sending serial number, (0) the payload is 0, and the maximum segment scale is 1460. Data Segment 2: ACK1001 indicates that the client connection establishment request can be sent from the 1001 serial number; SYN queries whether the client can establish a connection; 8000 the initial value of the server sending serial number, (0) the payload is 0, and the maximum segment scale that can be received is 1024. Data Segment 3: ACK8001 indicates that the server connection request is accepted and can be sent from the serial number 8001. Now the three handshakes are complete and the connection is established. Note that the connection is closed four times. Data Segment 7: FIN disconnection request. The value 1021 (0) is no. 1021, the payload is 0, and ACK8011 indicates that the bytes before 8011 have been received and can be sent from 8011. Data Segment 8: ACK1022 indicates that the byte before 1022 has been received and the connection is closed. Data Segment 9: Server segment connection disconnection request, same as data segment 7. Data Segment 10: 8012 received in the first byte and agreed to disconnect the request. Each sent byte number plus 1, SYN, FIN is not a payload but also occupies one.