TCP Packet Structure
Written by The Geekette on July 9, 2006 – 2:48 pmPosted in Networking |
The diagram shown below demonstrates the fixed packet structure that is use by TCP/ This fixed packet structure is used to provide flow control, maintain the reliability of the communication and ensure that any data that is missing is resent buy sequencing and acknowledgement.
The Flag field is a 1 byte field. Common flags in this field include
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
These flags are used to manage the TCP sessions. SYN and ACK are used in the three way Handshakes . RST and FIN flags are used to denote the finish of a connection. FIN is used during the normal four step setup, but the RST is used to signal the end of a session that is not a normal one.
The checksum is used to ensure the integrity of the packet is intact
§


