begood Posted May 23, 2010 Report Posted May 23, 2010 In this video, Mike, a network protocol specialist demonstrates the various steps involved in a TCP handshake. A TCPTCP connections here. handshake is used to establish connections.The process is so designed so that both ends can initiate and negotiate connections at the same time.computer A sends a TCP synchronize packet to computer B. Computer B receives A's SYN . It then sends a synchronize - acknowledgment packet to A .A receives B's synchronized-acknowledgment packet . A then sends an acknowledgment packet to B .In this way the TCP 3 way connection is established.When the communication between two computers ends, another 3-way communication is performed to tear down the TCP connection.Since TCP performs the 3 way handshake hence it is called a Reliable protocol.The acknowledgment no of the 2nd step is the sequence number of the first syn packet. And the acknowledgment number of the Third step is the sequence number of 2nd step plus one. Also the sequence number of this step is the acknowledgment number of the previous step i.e the SYN-ACK packet. You can learn more about Understanding the TCP 3 Way Handshake Tutorial Quote
Ethereal Posted May 23, 2010 Report Posted May 23, 2010 RFC 793 (rfc793) - Transmission Control Protocol Quote