TCP message

Time:2019-10-9

Tcp/ip message

TCP message

TCP message

TCP message

TCP head

  • TCP is the main transport protocol for providing reliable full-duplex connections, with header length (20 bytes) and optional data segment length (40 bytes).
  • Source port/destination port: source port/destination port, each port length (2 bytes/16 bits)
  • Sequence number: serial number, length (4 bytes/32 bits)
  • Recognition number: Confirmed serial number, length (4 bytes/32 bits)
  • Hlen: Data segment start position, length (4 bits)
  • Reserved: Length (3bits)
  • Flag: Length (9 bits)
  • Window: identify the size and length of data that can be received (2bytes / 16bits)
  • Checksum: Length (2 bytes/16 bits)
  • Urgent pointer: length (2 bytes/16 bits)

Noun Interpretation

  • Maximum segment size (MSS)//TCP datagram’s maximum number of bytes, that is, from the beginning of TCP header to the end of the message

TCP status

  1. SYN_SEND
  2. SYN_RCVD
  3. ESTABLISHED
  4. FIN_WAIT_1
  5. CLOSE_WAIT
  6. FIN_WAIT_2
  7. LAST_ACK
  8. TIME_WAIT
  9. CLOSED

Recommended Today

Front-end core tools: yarn, NPM, and CNPM how can they be used together elegantly?

A front end that doesn’t work well with package managers is an entry-level front end that doesn’t work wellwebpackThe front end is a primary front end Three package managers can be used together, as long as you are bold enough, no problem! Recommend two articles Handwritten React scaffolding Handwritten Vue scaffolding Front-end performance optimization incomplete […]