GATE / CS ARCHIVE

GATE CSE 2026 SET 1 / QUESTION 18

TCP establishment and simultaneous close

Computer Networks · Transport, Congestion Control & Traffic Shaping · Full GATE CSE 2026 Set 1 paper

GATE 2026 Set 1, Q18 1 mark · MCQ
Report issue

Transport, Congestion Control & Traffic Shaping

Question 18, GATE 2026: Choose the true TCP statement: A establishment uses a two-way handshake; B only the client may initiate closing; C TCP is half-duplex; D client and server may initiate closing simultaneously.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

Givens and goal

Choose the true TCP statement: A establishment uses a two-way handshake; B only the client may initiate closing; C TCP is half-duplex; D client and server may initiate closing simultaneously.

Approach

Distinguish connection establishment, directional data flow, and each endpoint’s independent ability to send FIN.

Step-by-step solution

1. Ordinary TCP establishment uses SYN, SYN+ACK and ACK, a three-way handshake. Therefore A’s two-way-handshake description is incorrect.
2. A TCP connection supports data in both directions independently. Either endpoint may transmit while receiving, so it is full-duplex rather than half-duplex; C is false.
3. Either endpoint can initiate closing its sending direction by sending FIN. The server need not wait for the client to begin, so B is false.
4. Both endpoints may independently send FIN before receiving the other endpoint’s FIN. TCP handles this simultaneous close by acknowledging each FIN and completing the state transitions. Thus D is true.
5. Closing is not a rule that only a designated “client side” may invoke: client and server describe connection establishment roles, not permanent ownership of shutdown.

Original paper, page 15 · Answer key