GATE CS 2021 Set 1 | Question 54
Computer Networks › Transport Layer · MSQ · 2 marks · Answer: A, B, C
- Question 54Computer Networksmsq2 marksA TCP server application is programmed to listen on port number on host . A TCP client is connected to the TCP server over the network. Consider that while the TCP connection was active, the server machine 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 can listen on 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: A, B, C
Solution
After a crash the server loses all TCP state. A silent client may wait forever (A). The server can bind and listen on again after reboot (B). If the client sends data, the rebooted server has no matching connection and replies with RST, not FIN (C true, D false). - A.
More GATE PYQ on Transport Layer
All GATE CS Computer Networks PYQ →Attempt GATE CS 2021 Set 1 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →