Docsity

Three way Handshake, Study notes of Network Programming

Toggle sidebar
bg1
Three Way Handshake is a process used for establishing a TCP connection.
Step-01: SYN-
For establishing a connection,
Client sends a request segment to the server.
Request segment consists only of TCP Header with an empty payload.
Then, it waits for a reply segment from the server.
Step-02: SYN + ACK-
After receiving the request segment,
Server responds to the client by sending the reply segment.
It informs the client of the parameters at the server side.
Step-03: ACK-
After receiving the reply segment,
Client acknowledges the response of server.
It acknowledges the server by sending a pure acknowledgement.

Partial preview of the text

Download Three way Handshake and more Study notes Network Programming in PDF only on Docsity!

Three Way Handshake is a process used for establishing a TCP connection.

Step-01: SYN-

For establishing a connection,  Client sends a request segment to the server.  Request segment consists only of TCP Header with an empty payload.  Then, it waits for a reply segment from the server.

Step-02: SYN + ACK-

After receiving the request segment,  Server responds to the client by sending the reply segment.  It informs the client of the parameters at the server side.

Step-03: ACK-

After receiving the reply segment,  Client acknowledges the response of server.  It acknowledges the server by sending a pure acknowledgement.