TCP/IP details -- Role of the TCP Header option field -- TCP Header

Source: Internet
Author: User

TCP/IP details -- Role of the TCP Header option field -- TCP Header
1. Set the option field of the TCP header to 40B and write down some common items:

2. The Option END field (EOP, 0x00) occupies 1B, and only one packet segment is used once. It is placed at the end to indicate that there are no more messages in the header, and the Application Data starts at the next 32-bit character.

3. No operation field (NOP, 0x01), which accounts for 1B. It is also used for filling and placed at the beginning of the option.

4. MSS (maximum packet segment length). Format: type (1B, value: 2), length (1B, value: 4), value: (2B)

This parameter is used to determine the size of the MSS at the start of the connection. If it is not determined, the default value is used (generally 536B)

5. Window expansion factor, in the following format: type (1B, value: 3), length (1B, value: 3), value (1B)

New window value = power of the first window value * 2 (expansion factor)

When both Parties consider that the header window value is not big enough, use this to define a larger window at the beginning of the connection. Valid only when the connection starts. Once defined, it cannot be changed during communication.

6. Time cut (RTT for application testing and serial number bypass prevention), omitted, supplemented later

7. Allow SACK and SACK options

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.