TCP Header – What is Data Offset and Its Uses?

iptcp

I was learning about TCP and came across Data offset. This was the answer I found.

" Data offset specifies the size of the TCP header in 32 bit words. The min. size header is 5 words and the max. is 15 words, thus giving the min. size of 20 bytes and max. of 60 bytes."

What is the word means ? 32 bit words, 5 words, 15 words. How they concluded the size as 20 bytes and 60 bytes.

Best Answer

The purpose of the data offset is to tell the upper layers where the data starts. As you point out, the TCP header can be anywhere from 5-15 words long. So you need to know where the header ends and the data begins.

Related Topic