GATE CSE 2021 Set 1 Q54: TCP client behaviour after the server host crashes and reboots
- Computer Networks
- 2 marks
- MSQ
- No negative marking
Question
A 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?
Try it: multiple select: one or more correct options
Show answer and explanation
Answer: A, B, C (official GATE 2021 final answer key)
Concept used: A rebooted host has lost all connection state: it answers segments of unknown connections with RST, and a crashed host sends nothing on its own.
First step: Ask what the rebooted server knows about the old connection when a segment for it arrives.
Full step-by-step solution
Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.
Share this question
Source: official GATE 2021 Set 1 CS question paper and final answer key, organised by IIT Bombay. Question paper · Answer key
More Computer Networks PYQs
- 2026 Session 1 · Q18True statement about TCP connection setup and closing
- 2026 Session 1 · Q19HTTP 1.1 persistent connections and pipelining
- 2026 Session 1 · Q44When segment 2000 is sent under TCP slow start
- 2026 Session 1 · Q45Minimum sliding window size for full link utilisation
- 2026 Session 1 · Q56Valid CIDR blocks for 6000 addresses inside 202.16.0.0/15
- 2026 Session 2 · Q21File transfer time over three links of different bandwidth