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
- Match List I with List IIList I List II A. Physical Layer I. Transforming the raw bits into frames for transmission B. Data Link Layer II.…
- Match List I with List IIList I List II A. CDMA I. Provides mobile internet connection with faster data transfer rates B. GSM II. Allows us…
- Hosts P and Q are connected through a router R. The MTU of link P–R is 1500 bytes and of link R–Q is 820 bytes. A TCP segment of 1400 bytes…
- In standard Ethernet with a transmission rate of 10 Mbps, the length of the medium is 2500 m and the frame size is 512 bits. The propagatio…
- How many more routers can the packet travel to?
- What is the protocol of the payload being carried by the packet?