GATE CS 2021 (Forenoon) — Question 54

Computer Networks (CN)Transport Layer (Flow Control and Congestion Control, TCP, UDP, Sockets)MSQ2 marksMedium

A TCP server application is programmed to listen on port number \(P\) on host \(S\). A TCP client is connected to the TCP server over the network. Consider that while the TCP connection was active, the server machine \(S\) crashed and rebooted. Assume that the client does not use the TCP keepalive timer. Which of the following behaviors is/are possible?
  1. A
    If the client was waiting to receive a packet, it may wait indefinitely.
  2. B
    The TCP server application on \(S\) can listen on \(P\) after reboot.
  3. C
    If the client sends a packet after the server reboot, it will receive a RST segment.
  4. D
    If the client sends a packet after the server reboot, it will receive a FIN segment.
Practise the full 2021-FN paper
Challenge a friend: WhatsApp Telegram
Recommended book · affiliate linkComputer Networks (Tanenbaum)Layers, routing, TCP/IP and error control, explained clearly.
Practise more on Transport Layer (Flow Control and Congestion Control, TCP, UDP, Sockets)Timed, in the real exam interface · free to start

A GATE question every morning

One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.

Join
Stuck? Ask in the student group