Consider the -way handshaking protocol for TCP connection establishment. Let the three packets exchanged during the connection establishment be denoted as , and , in order. Which of the following option(s) is/are TRUE with respect to TCP header flags that are set in the packets?
View worked solution
Answer: B;D
In TCP, the connection establishment process uses a 3-way handshake protocol. The three packets exchanged in order (, , and ) have the following TCP header flag configurations:
-
Packet 1 (): Client to Server (Connection Request)
- The client initiates the connection by setting the
SYNflag. - Flags: , .
- The client initiates the connection by setting the
-
Packet 2 (): Server to Client (Connection Acknowledgment)
- The server acknowledges the client's request and sends its own synchronization request.
- Flags: , .
-
Packet 3 (): Client to Server (Acknowledgment)
- The client acknowledges the server's request. The synchronization phase is complete, so the
SYNflag is cleared. - Flags: , .
- The client acknowledges the server's request. The synchronization phase is complete, so the
Let's evaluate the given options based on these rules:
- Option A: — Incorrect (In , ).
- Option B: — Correct.
- Option C: — Incorrect (In , ).
- Option D: — Correct (In , is indeed set to ).
Free practice · Your answers on this page are not saved.
