Donate SIGN UP

TCP segment headers and converting to octets and binary numbers

Avatar Image
shaunnutley | 01:44 Tue 04th Mar 2008 | Technology
1 Answers
if a TCP segment's 4-bit header length is represented by the denary number 10 then how many octets would this be?
I calculated this to convert to 1010 as a binary number and then to 12 octets. Could the segments 32-bit sequence number be converted to a binary number in the same way if its denary value was 45000? Would the answer be 1010 1111 1100 1000?
I'd be grateful if anyone can expand on this.
Gravatar

Answers

Only 1 answerrss feed

Best Answer

No best answer has yet been selected by shaunnutley. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
an octet is an eight digit number(bin)
255 = 11111111 - this is a single octet or byte
so then 10 does = 1010 (1x8+1x2)
half a byte(or 4 bin digits) = a nibble (yes honestly!)

a standard ip v4 address is only 4 octets (8 bytes = 32 bits)

Only 1 answerrss feed

Do you know the answer?

TCP segment headers and converting to octets and binary numbers

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.