A TCP server application is programmed to listen on port number P on host S. A…

GATE · 2021 · CS · Set 1 · Computer Science & IT

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.

Attempted by 155 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…