TCP segments
Acknowledgment number:
This 32-bit field defines the byte number
that the receiver of the segment is
expecting to receive from the other party.
Acknowledgment and data can be
piggybacked together.
Header length:
4-bit field indicates the number of 4-byte
words in the TCP header
The length of the header can be between
20 and 60 bytes
The value of this field can be between 5 (5
x 4 =20) and 15 (15 x 4 =60).
Window size:
Checksum:
Options:
There can be up to 40 bytes of optional
information in the TCP header
Some options are carried when a
connection is established to negotiate or
inform the other side of capabilities
Other options are carried on packets
during the lifetime of the connection.
Control field:
Urgent pointer:
l6-bit field, which is valid only if the urgent
flag(URG) is set, is used when the segment
contains urgent data.
The sending application program wants a piece
of data to be read out of order by the receiving
application program
ACK :
The ACK bit is set to 1 to indicate that the
Acknowledgement number is valid.
If ACK is 0, the segment does not contain an
acknowledgement, so the Acknowledgement
number field is ignored.