All mock tests are FREE till 31 December — register to save your progress

A TCP server application is programmed to listen on port P on host S. A TCP client is connected to the server over the network. While the TCP connection is active, the server crashes and reboots. Assume the client does not use the TCP keepalive timer. Which of the following behaviours is/are possible?
Statement I: The TCP server application on S can listen on P after reboot.
Statement II: If the client sends a packet after the server reboot, it will receive an RST segment.

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

Show answer & explanation

Correct answer: A. Both Statement I and Statement II are correct

Explanation

After rebooting, the server can bind and listen on port P again. The old connection state is lost, so a segment from the client for that connection draws an RST. Both behaviours are possible.

More Data Communication and Computer Networks questions