TCP Handshakes
To allow two hosts to communicate and exchange data reliably, TCP performs a three step handshake before any of the data is sent. This is when TCP guarantees that the data will arrive in tact by using a sequence and acknowledgement numbers. After all data is sent, TCP then performs a four step shutdown that concludes the session.
Three Step Startup
|
PC |
—————- SYN —————-> |
Server |
| <———— SYN ACK————– | ||
| —————- ACK —————-> |
Four Step Shutdown
|
PC |
—————FIN ACK ————-> |
Server |
| <—————ACK—————— | ||
| <———— FIN ACK————— | ||
| —————- ACK —————-> |
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, IP, handshakes, TCPIP
Technorati Tags: TCP, IP, handshakes, TCPIP
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:38 pm
You can also choose to read Question of the Day, which is the previous entry, or TCP Packet Structure, the next entry.