TCP Sequence number

Just wanted to clear if tcp sequeces the segments or ip packets???

Thanks.

1 Like

Hello Sumant,
The sequence number is located in the TCP header so this would be a segment not a packet.
I hope this helps!
Scott

Hello Sumant

The sequence number is actually measured in bytes. If a segment of 1000 bytes comes in to a receiver, the sequence number is increased by 1000. So the sequence number actually refers to the number of bytes that have been sent/received and the acknowledgement number sent back by the receiver indicates the next expected byte.

I hope this has been helpful!

Laz

1 Like