TCP sequence number question

后端 未结 3 1922
Happy的楠姐
Happy的楠姐 2020-12-13 04:54

This is more of a theoretical question than an actual problem I have.

If I understand correctly, the sequence number in the TCP header of a packet is the index of th

3条回答
  •  佛祖请我去吃肉
    2020-12-13 05:17

    The sequence number loops back to 0. Source:

    alt text

    TCP sequence numbers and receive windows behave very much like a clock. The receive window shifts each time the receiver receives and acknowledges a new segment of data. Once it runs out of sequence numbers, the sequence number loops back to 0.

    Also see chapter 4 of RFC 1323.

提交回复
热议问题