Open In App

TCP Connection Establishment

Prerequisite – TCP 3-Way Handshake Process 
TCP is a connection-oriented protocol and every connection-oriented protocol needs to establish a connection in order to reserve resources at both the communicating ends. 

Connection Establishment – 



1. Sender starts the process with the following: 

2. TCP is a full-duplex protocol so both sender and receiver require a window for receiving messages from one another. 



Therefore, receiver can send maximum of 14600/500 = 29 packets.
This is the receiver's sending window size.
Therefore, sender can send a maximum of 10000/500 = 20 packets.
This is the sender's sending window size.

3. Sender makes the final reply for connection establishment in the following way: 

Since the connection establishment phase of TCP makes use of 3 packets, it is also known as 3-way Handshaking (SYN, SYN + ACK, ACK). 

Related next article – TCP Connection Termination
 

Article Tags :