TCP 3-Way Handshake Process – GeeksforGeeks

This could besides be seen as a means of how transmission control protocol connection is established. Before getting into the details, let us look at some basics. TCP stands for Transmission Control Protocol which indicates that it does something to control the transmission of the data in a authentic way. The process of communication between devices over the internet happens according to the current TCP/IP suite model ( stripped out version of OSI reference model ). The Application layer is a lead pile of a push-down list of TCP/IP models from where network referenced applications like web browsers on the client-side establish a connection with the server. From the application level, the data is transferred to the transportation layer where our topic comes into the photograph. The two important protocols of this layer are – TCP, UDP(User Datagram Protocol) out of which TCP is prevailing ( since it provides dependability for the association established ). however, you can find an application of UDP in querying the DNS server to get the binary equivalent of the Domain Name used for the web site.

TCP provides reliable communication with something called Positive Acknowledgement with Re-transmission(PAR). The Protocol Data Unit ( PDU ) of the transportation layer is called a segment. now a device using PAR resend the data unit until it receives an recognition. If the datum unit received at the liquidator ’ second end is damaged ( It checks the data with checksum functionality of the transport layer that is used for Error Detection ), the receiver discards the section. So the transmitter has to resend the data unit for which positivist acknowledgment is not received. You can realize from the above mechanism that three segments are exchanged between transmitter ( customer ) and recipient ( server ) for a authentic TCP connection to get established. Let us delve into how this mechanism works :

  • Step 1 (SYN): In the first step, the client wants to establish a connection with a server, so it sends a segment with SYN(Synchronize Sequence Number) which informs 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 transfer

My Personal Notes


Leave a Reply

Your email address will not be published.