TCP sequence number question

Posted by Meta on Stack Overflow See other posts from Stack Overflow or by Meta
Published on 2010-04-20T05:21:37Z Indexed on 2010/04/20 5:23 UTC
Read the original article Hit count: 246

Filed under:
|

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 the first byte in the packet in the whole stream, correct? If that is the case, since the sequence number is an unsigned 32-bit integer, then what happens after more than FFFFFFFF = 4294967295 bytes are transferred? Will the sequence number wrap around, or will the sender send a SYN packet to restart at 0?

© Stack Overflow or respective owner

Related posts about tcpip

Related posts about tcp