The GATE Grind

GATE 2026 CS (CS1) – Question 18

Computer Networks · TCP: Flow Control, Congestion Control, Socket API · 1 mark · Multiple choice

With respect to a TCP connection between a client and a server, which one of the following statements is true?

  1. The client and server use a two-way handshake mechanism before the start of data transmission
  2. The server cannot initiate closing of the connection before the client initiates closing of the connection
  3. The TCP connection is half-duplex
  4. The client and server can initiate closing of the connection at the same time

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (D) The client and server can initiate closing of the connection at the same time

Explanation

Therefore, option (D) is correct.