Skip to content

UGC NET CS 2023Data Communication and Computer Networks › Functions of OSI and TCP/IP LayersVerified

UGC NET CS 2023 PYQ: A TCP server application is programmed to listen on port $\text{P}$ on host $\text{S}$. A TCP client is…

A TCP server application is programmed to listen on port $\text{P}$ on host $\text{S}$. A TCP client is connected to the TCP server over the network, Consider 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 behaviour $/ \mathrm{s}$ is/are possible?

Statement I: The TCP application server on $\text{S}$ can listen on $\text{P}$ after reboot.

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

  1. A
    Both Statement $\text{I}$ and Statement $\text{II}$ are true
    Correct answer
  2. B
    Both Statement $\text{I}$ and Statement $\text{II}$ are false
  3. C
    Statement $\text{I}$ is true but Statement $\text{II}$ is false
  4. D
    Statement $\text{I}$ is false but Statement $\text{II}$ is true

Answer

(A) Both Statement $\text{I}$ and Statement $\text{II}$ are true

Approach

Reason about TCP connection state after a server crash and reboot.

Reviewed by UGC IQ Editorial Team.