TCP link establishment to release process

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.