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 application is programmed to listen on port P on Host S. A TCP Client is connected to the TCP Server over the network. Considered that while TCP Connection is active the server is crashed and rebooted. Assume that the client does not use TCP keepalive timer. Which of the following behaviours is/are possible?

Statement I: If client is waiting to receive a packet, it may wait indefinitely

Statement II: If the client sends a packet after the server reboot, it will receive the FIN segment In the light of the above statements, choose the correct answer from the options given below

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 client waiting for data never learns the server has gone, so it may wait indefinitely (I true). If it sends after the reboot, the server replies with RST, not FIN (II false).

More Data Communication and Computer Networks questions