What mechanism does TCP use to establish a connection between two endpoints?

Prepare for your Telecom and Networking Test with targeted quizzes. Access comprehensive multiple-choice questions with detailed explanations to boost your confidence and knowledge. Ace your Networking Test!

Multiple Choice

What mechanism does TCP use to establish a connection between two endpoints?

Explanation:
TCP establishes a connection through a three-step exchange that synchronizes both ends and gets the session ready for data transfer. The client starts by sending a segment with the SYN flag set and an initial sequence number it chooses. The server replies with a segment that has both SYN and ACK flags set, acknowledging the client’s sequence number and supplying its own initial sequence number. Finally, the client sends back a segment with the ACK flag, acknowledging the server’s sequence number. Once this three-way handshake completes, both sides know the connection is ready and they have agreed on initial sequence numbers, enabling reliable, ordered data transfer. This approach matters because it confirms both sides are present and prepared, negotiates the starting points for sequencing, and prevents confusion from old or duplicated connection attempts. The other options don’t fit: a four-way handshake is used for terminating a connection gracefully, while a simple greeting or a direct connect isn’t how TCP reliably establishes a session.

TCP establishes a connection through a three-step exchange that synchronizes both ends and gets the session ready for data transfer. The client starts by sending a segment with the SYN flag set and an initial sequence number it chooses. The server replies with a segment that has both SYN and ACK flags set, acknowledging the client’s sequence number and supplying its own initial sequence number. Finally, the client sends back a segment with the ACK flag, acknowledging the server’s sequence number. Once this three-way handshake completes, both sides know the connection is ready and they have agreed on initial sequence numbers, enabling reliable, ordered data transfer.

This approach matters because it confirms both sides are present and prepared, negotiates the starting points for sequencing, and prevents confusion from old or duplicated connection attempts. The other options don’t fit: a four-way handshake is used for terminating a connection gracefully, while a simple greeting or a direct connect isn’t how TCP reliably establishes a session.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy