3-way handshake
3-way handshake is a process by using TCP/IP to make
connection between client and server.
Both client and server require synchronize & acknowledge
packet to start the process.
Step 1 (SYN)-
In this client wants to establish a connection with
server, so it sends a segment with SYN (Synchronize Sequence Number) which
informs server that client is likely to start communication and with what should
be sequence number to start.
Step 2 (SYN + ACK)-
Server responds to the client request with SYN-ACK signal.
ACK signifies the response of segment it received
and SYN signifies with what sequence number it is likely to start the segments.
Step 3 (ACK)-
In the final part client ACK the response to the
server and they both establish a reliable connection with which they will start
the data transfer.
Good notes
ReplyDelete