Which fields are included in the TCP header? - ProProfs Discuss
Advertisement

Which fields are included in the TCP header?

Asked by Bramwell, Last updated: Mar 27, 2024

+ Answer
Request
Question menu
Vote up Vote down

1 Answer

John Smith

John Smith

John Smith
John Smith

Answered Sep 08, 2016

Source port-2. acknowledgement number-3. window-source port: 16 bits. destination port: 16 bits. sequence number: 32 bits. the sequence number of the first data byte in this segment. if the syn bit is set, the sequence number is the initial sequence number and the first data byte is initial sequence number + 1.acknowledgment number: 32 bits. if the ack bit is set, this field contains the value of the next sequence number the sender of the segment is expecting to receive. once a connection is established this is always sent. data offset: 4 bits. the number of 32-bit words in the tcp header. this indicates where the data begins. the length of the tcp header is always a multiple of 32 bits. reserved: 3 bits. must be cleared to zero. ecn, explicit congestion notification: 3 bits. added in rfc 3168. control bits: 6 bits. window: 16 bits, unsigned. the number of data bytes beginning with the one indicated in the acknowledgment field which the sender of this segment is willing to accept. checksum: 16 bits. this is computed as the 16-bit ones complement of the ones complement sum of a pseudo header of information from the ip header, the tcp header, and the data, padded as needed with zero bytes at the end to make a multiple of two bytes. urgent pointer: 16 bits, unsigned. if the urg bit is set, this field points to the sequence number of the last byte in a sequence of urgent data. options: 0 to 44 bytes. options occupy space at the end of the tcp header. all options are included in the checksum. an option may begin on any byte boundary. the tcp header must be padded with zeros to make the header length a multiple of 32 bits. data: variable length.
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.