All mock tests are FREE till 31 December — register to save your progress
Unit 9 · Data Communication and Computer Networks Paper 2 CS · December 2022 Shift 2

A TCP server listens on port P on host S, and a client is connected to it. While the connection is active the server crashes and reboots. The client does not use the TCP keepalive timer. Which behaviour is possible?
Statement I: If the client is waiting to receive a packet, it may wait indefinitely.
Statement II: If the client sends a packet after the server reboots, it will receive a FIN segment.

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. Statement I is true but Statement II is false

Explanation

Without keepalive, a passively waiting client never learns of the crash. The rebooted server has no state for the connection and replies with RST, not FIN.

More Data Communication and Computer Networks questions