312-50V11 · Question #19
The establishment of a TCP connection involves a negotiation called three-way handshake. What type of message does the client send to the server in order to begin this negotiation?
The correct answer is B. SYN. A TCP three-way handshake begins when the client sends a SYN segment to the server to initiate connection negotiation.
Question
The establishment of a TCP connection involves a negotiation called three-way handshake. What type of message does the client send to the server in order to begin this negotiation?
Options
- AACK
- BSYN
- CRST
- DSYN-ACK
How the community answered
(44 responses)- A5% (2)
- B86% (38)
- C2% (1)
- D7% (3)
Why each option
A TCP three-way handshake begins when the client sends a SYN segment to the server to initiate connection negotiation.
ACK is used in the third step of the handshake to acknowledge the server's SYN-ACK response, not to initiate the connection.
The client starts a TCP connection by sending a segment with the SYN flag set, which signals the intent to synchronize sequence numbers and establish a session. The server responds with SYN-ACK (step 2), and the client completes the handshake with a final ACK (step 3), after which data transfer can begin.
RST (reset) is used to abruptly terminate an existing or unwanted connection, not to begin a negotiation.
SYN-ACK is the server's second-step response to the client's initial SYN, not the message the client sends to begin the handshake.
Concept tested: TCP three-way handshake SYN initiation
Source: https://www.rfc-editor.org/rfc/rfc793
Topics
Community Discussion
No community discussion yet for this question.