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
- Find first and last addresses of First subnet. q
- Find subnet mask. q
- Find first and last addresses of last subnet. Q
- Using RSA with p = 13, q = 5 and e = 7, the value of d and the cipher value of '6' with key (e, n) are
- The maximum achievable throughput is
- A classless address is given as 167.199.170.82/27. The number of addresses in the network is