Click here to Skip to main content
15,881,687 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
The following is a dump of a TCP header in hexadecimal format.
AF08 0017 0000 OOAS 0000 OA01 8012 0800 0000 0000

State the destination port number and the service.
State the type of the source port.
State the type of the TCP segment.
Calculate the header size and the window size

The following is an invalid TCP header dump.
Justify the existing error/s and write the corrected TCP header.

AF08 001 7 0000 OOA5 0000 OAO 1 8000 0800 0000 OOA2

What I have tried:

Finding TCP segment is not clear.
Posted
Updated 21-May-20 22:19pm

We are more than willing to help those that are stuck: but that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you.

So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in!
Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did.

But just posting your homework question and expecting us to do it for you isn't going to work.
 
Share this answer
 
Transmission Control Protocol - Wikipedia[^]
You have the table defining the different blocks of data of a TCP header. The only thing you have to do is a bit of maths to transform hexadecimal to binary.
What are you having trouble with exactly?
 
Share this answer
 
Comments
OriginalGriff 22-May-20 3:15am    
I suspect it's another of these "online 24 hour exams" that some students are trying to avoid ... :sigh:
phil.o 22-May-20 4:36am    
Well, no answer from OP, so I guess you are right.
It is simplicity itself to find the answer to such a question: tcp header format - Google Search[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900