TCP -3 Way Handshake Process

Techno Freak
2 min readMay 1, 2022

--

How TCP connection is established

TCP : Transmission Control Protocol the fullform itself points to something like control the data and the transmission in a safe and reliable way. The day-to-day communication of devices on the internet happens via the famous TCP/IP model.

The application layer comes on the top pile of stack from where network referenced application web browsers(eg: safari,firefox,google chrome)on the client side to establish connection with the server.

From the application layer, the information is transferred to the transport layer. Now comes our topic of discussion : the most important 2 protocols are UDP and TCP of which the more prevalent is TCP.

Usage of UDP: UDP(User Datagram Protocol)is used in querying the DNS server to get the binary equivalent of the Domain Name used for the website.

3way Handshake
  • Step 1 (SYN): The client wants to establish a connection with a server, so it sends a segment with SYN(Synchronize Sequence Number) which informs(like a messenger )the server that the client is likely to start communication and with what sequence number it starts segments with
  • Step 2 (SYN + ACK): Server responds to the client request with SYN-ACK signal bits set. Acknowledgement(ACK) signifies the response of the segment it received and SYN signifies with what sequence number it is likely to start the segments with
  • Step 3 (ACK): In the final part client acknowledges the response of the server and they both establish a reliable connection with which they will start the actual data transferred.

--

--

Techno Freak
Techno Freak

Written by Techno Freak

Devops &Full-Stack enthusiast . Helping People to learn about cloud and opensource . Learning bit by bit

No responses yet