34.4k views
0 votes
What is three-way handshake? Draw a diagram showing how a TCP connection is established through three-way handshake.

2 Answers

5 votes

Answer:

three-way handshake is a process that is used in a TCP/IP network to make a connection between the server and client.

Explanation: This 3-way TCP, is a three-step process that requires both the client and server to exchange synchronization and acknowledgment packets before the real data communication process starts.

The three-way handshake process is designed in such a way that both ends help you to initiate, negotiate, and separate TCP socket connections at the same time. It allows you to transfer multiple TCP socket connections in both directions at the same time.

What is three-way handshake? Draw a diagram showing how a TCP connection is established-example-1
User Federico Gentile
by
6.5k points
2 votes

Step-by-step explanation:

A three way handshake is a method to create a connection between host and server.It is used in a TCP/IP network.

To establish a connection three steps are followed which are as following:-

  1. The host or sender sends a data packet called SYN to the server or receiver.It's purpose is to as if the receiver is open for new connections.
  2. When the receiver receives the SYN packet it responds with an ACK or SYN/ACK packet as a confirmation for the connection.
  3. When the sender receives the SYN/ACK packet and it respond with ACK packet.
What is three-way handshake? Draw a diagram showing how a TCP connection is established-example-1
User Jason Foreman
by
7.5k points