TCP Packet Structure
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
Related Articles on Aleeya.net:
Recent Entries:
- 07/05/2008: Windows Does not Report All Memory
- 01/01/2008: Firefox 3 beta - Minefield
- 01/01/2008: Happy New Year!
- 01/01/2008: Photoshop Thumbnails (.psd)
- 01/01/2008: Adobe Photoshop CS3 error
Search: Cosmos | BlogPulse
Bookmark: Del.icio.us | Furl It | Spurl | Tag!RawSugar | Simpy This! | Shadows Tag! | Blink It | My Web
Aleeya dotNet Tags: TCP, Packet, structure
Technorati Tags: TCP, Packet, structure
Filed under: Networking (Technorati) .
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
This entry was posted on Sunday, July 9th, 2006 at 2:48 pm
You can also choose to read TCP Handshakes, which is the previous entry, or UDP Packet Structure, the next entry.