What if your messages got lost because you never checked if the other side was ready?
Why Three-way handshake in Computer Networks? - Purpose & Use Cases
Imagine trying to start a phone call with a friend without any clear way to know if they are ready to talk. You just start speaking, hoping they are listening and ready. This can lead to confusion and missed messages.
Without a clear process, messages can get lost or misunderstood. You might talk over each other or miss important information because there is no confirmation that both sides are ready. This makes communication slow and unreliable.
The three-way handshake is like a polite phone call setup: one side says "Hello, are you there?", the other replies "Yes, I am here!", and then the first side confirms "Great, let's talk!". This ensures both sides are ready before exchanging important data.
Send data immediately without confirmation
Send SYN, receive SYN-ACK, send ACK before data transfer
This process enables reliable and synchronized communication between two devices, preventing data loss and confusion.
When you open a website, your computer and the server perform a three-way handshake to establish a connection before loading the page, ensuring smooth and reliable browsing.
Starting communication without confirmation can cause errors.
The three-way handshake confirms both sides are ready.
This leads to reliable and efficient data exchange.