Friday, April 9, 2010

TCP Flags

There are 6 TCP Flags.

Connection Establishment
==========================
1.SYN --- Client to Server
2. SYN ACK ---Server to Client
3. ACK--------- Client to Server

Connection Established

Termination
+++++++++++++

Termination requires four packets as TCP is full duplex, connection should be terminated from both the ends.

1. FIN ACK - Client to Server
2. ACK - Server to Client
3. FIN ACK - Server to Client
4. ACK -- Client to Server

Pls note that this is a Graceful termination where "RST" is not

More info can be available @ http://support.microsoft.com/kb/172983

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.