0

I'm an university student majoring in computer science & engineering as a sophomore.

I'm studying about TCP(transport layer) specifically, sequence number. What my materials of Network says sequence number is 'byte stream 'number' of first byte in segment's data'. As I know Operating System decides sequence number randomly but properly.

But I do not understand what 'byte stream number of first byte'.

Is it the value of ID for each byte?

Or

Is it the record saying 'until me(byte), it's n(bytes) of total bytes''?

1
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can provide your own answer and accept it.
    – Ron Maupin
    Aug 7 '17 at 0:26
1

If you consider the TCP session as a stream of bytes, the sequence number is the ordinal number of the first byte in the TCP segment. So the first byte in the first segment is 1. If there are 100 bytes in the segment, the first byte of the second segment will be 101.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.