GATE CS 2021, set 1 · Question 54 · Computer Networks · Multiple select (MSQ) · 2 marks · no negative marks
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?
- (A) If the client was waiting to receive a packet, it may wait indefinitely.
- (B) The TCP server application on S can listen on P after reboot.
- (C) If the client sends a packet after the server reboot, it will receive a RST segment.
- (D) If the client sends a packet after the server reboot, it will receive a FIN segment.
Answer
Answer (A), (B), (C)
Answer from the official GATE CS 2021 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes