GATE CS 2017, set 1 · Question 14 · Computer Networks · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

Consider a TCP client and a TCP server running on two different machines. After completing data transfer, the TCP client calls close to terminate the connection and a FIN segment is sent to the TCP server. Server-side TCP responds by sending an ACK, which is received by the client-side TCP. As per the TCP connection state diagram (RFC 793), in which state does the client-side TCP connection wait for the FIN from the server-side TCP?

  1. (A) LAST-ACK
  2. (B) TIME-WAIT
  3. (C) FIN-WAIT-1
  4. (D) FIN-WAIT-2
Answer

Answer (D)

Answer from the official GATE CS 2017 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes