Three Way Handshake
Three Way Handshake
establish a reliable connection between a client and a server before data transmission begins. It ensures
that both devices are ready to communicate and synchronize their sequence numbers for proper data
exchange. The process involves three steps, hence the name "three-way handshake."
---
1. **SYN (Synchronize)**:
- The client initiates the connection by sending a **SYN** packet to the server. This packet includes:
2. **SYN-ACK (Synchronize-Acknowledge)**:
3. **ACK (Acknowledge)**:
- The client sends an **ACK** packet to the server. This packet includes:
Once the three-way handshake is complete, the connection is established, and data transmission can
begin.
---
- It ensures that both the client and server agree on initial sequence numbers for reliable data transfer.
2. **Reliability**:
- By confirming each step, the handshake ensures that both devices are ready and capable of
communicating.
3. **Security**:
---
---
---
In summary, the three-way handshake is a fundamental part of TCP that ensures reliable and
synchronized communication between devices. It is a critical step in establishing connections for
applications like web browsing, email, and file transfers.