3-way TCP-IP Handshake

Explain 3-way TCP/IP Handshake?

E

Expert

Verified

To set up a connection, TCP employs a 3-way handshake. Prior to a client attempts to connect with a server, the server should at first bind to a port to open it up for the connections: this is termed as passive open. Once the passive open is set up then a client might initiate an active open. To set up a connection, the 3-way handshake takes place:

•    Active open is executed by sending a SYN to server.
•    In reply, the server replies with the SYN-ACK.
•    Lastly the client sends an ACK back to server.
•    At this point, both client and server obtained an acknowledgement of the connection.

When we want to join to server for communication we require establishing a connection among server and client. The procedure employed for this is termed as 3-way handshake...this is explained as follows:

A. Initially the server is prepared to allow the incoming connection by binding to the local port. This is termed as passive open.

B. The client now can join to server by sending SYN J segment to the server. The server responds with the SYN J+1 and ACK K

C. At the end, client sends ACK K+1 to the server.

At this phase we state that client and server are attached.

   Related Questions in Computer Networking

©TutorsGlobe All rights reserved 2022-2023.