What is the main purpose of the three-way handshake in TCP connections?
Think about what needs to happen before data can be sent reliably.
The three-way handshake is used to establish a reliable connection by synchronizing sequence numbers and confirming both sides are ready to communicate.
Which sequence correctly represents the three messages exchanged during the TCP three-way handshake?
The first message initiates the connection.
The client sends SYN to start, server replies with SYN-ACK, and client responds with ACK to complete the handshake.
What happens if the final ACK message from the client is lost during the three-way handshake?
Consider how TCP ensures reliability in message delivery.
If the final ACK is lost, the server retransmits SYN-ACK and waits for the ACK to confirm the connection before proceeding.
Which statement correctly distinguishes the TCP three-way handshake from the four-way handshake used in connection termination?
Think about connection setup versus connection teardown.
The three-way handshake is for starting a TCP connection; the four-way handshake is for closing it properly.
Why does the TCP three-way handshake provide a reliable way to establish a connection over an unreliable network?
Consider how TCP handles message loss and ordering.
The handshake uses sequence numbers and acknowledgments to ensure both sides agree on connection parameters, making the connection reliable despite network issues.