part process known as the three part handshake. It supports full duplex transportation of data which means
that it provides a path for two way data transfer. Hence using the TCP protocol, a computer can send and receive datagrams at the same time.
Some common flags of TCP are-:
RST [RESET]- Resets the connection. PSH [PUSH] - Tells receiver to pass all queued data to the application running. FIN [FINISH] - Closes connection following the 4 step process. SYN Flag - means that the machine sending this flag wants to establish a three way handshake i.e. a TCP connection. The receiver of a SYN flag usually responds with an ACK message.
So now we are in a position to represent a three way TCP Handshake:
A <---SYN---> B A <---SYN/ACK? B A <---ACK---> B
A sends a SYN flag to B saying " I want to establish a TCP connection", B responds to the SYN with the ACK to the SYN flag. A again responds to the ACK sent by B with another ACK.
Read RFC 793 for further in depth details about the TCP protocol.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment