In this Modern world of computer, the Three-Way TCP handshake is a fundamental building block in computer networking that play a crucial role in establishing a connection between devices - the Three Way Handshake. This three-step dance is like a secret code that allows computers to communicate easily. In this blog post, we'll break down the Three-Way TCP handshake into simple and easy to understand by everyone
Step 1: Hello, Anyone There? (SYN)
Imagine you're at a party, and you want to start a
conversation with someone across the room. The first thing you do is raise your
hand to get their attention. In the TCP handshake, this is like saying,
"Hey, I want to talk!" This initial message is called the SYN (Synchronize) packet.
When your computer wants to connect to another, it sends a SYN packet to initiate communication. This packet contains information about the connection, like the sequence number, and indicates an intention to start a conversation.
Step 2: Sure, Let's Talk! (SYN-ACK)
Now, at the party, the person you waved to acknowledges your presence by waving back. In the Thee-way TCP handshake, the second step is the SYN-ACK (Synchronize-Acknowledge) packet. The receiving computer responds to your initial SYN packet by saying, "I got your message, and I'm ready to chat!"
This packet not only acknowledges the receipt of your SYN but also lets you know that the other computer is willing to establish a connection. It includes its own sequence number, keeping things organized for the upcoming conversation.
Step 3: Let's Get Talking! (ACK)
The final step in our networking dance is the ACK (Acknowledge) packet. Just like at the party, where you start the actual conversation after the acknowledgment, the devices are now ready to exchange data. Your computer sends an ACK packet, confirming that it received the SYN-ACK packet.
At this point, both devices have agreed to communicate, and the actual data transfer can begin. The ACK packet also contains the next sequence number, ensuring that both parties are on the same page regarding the order of the data being exchanged.
Conclusion
I hope you have better understanding What the Three way TCP Handshake is and how the three-way TCP Handshake works. The Three-Way TCP handshake is a fundamental building block in comprehending computer networking, making it easier to troubleshoot connection issues and appreciate the magic happening behind the scenes every time you browse the web or send an email.
0 Comments