Step 1: Client waiting behavior after server crash.
If the server crashes abruptly, no FIN or RST is sent to the client. Since the client is not using TCP keepalive, it has no mechanism to detect the failure and may block indefinitely waiting for data. Hence, option (A) is correct.
Step 2: Server behavior after reboot.
After reboot, the server loses all previous TCP state information. The TCP server application can bind and listen again on port \(P\). Therefore, option (B) is correct.
Step 3: Client sending data after server reboot.
When the client sends a packet corresponding to an old connection, the rebooted server has no record of that connection. TCP responds with a RST (reset) segment to indicate an invalid connection. Hence, option (C) is correct.
Step 4: FIN segment analysis.
A FIN segment is sent only during graceful connection termination. Since the server crashed and lost state, it cannot send FIN for the old connection. Thus, option (D) is incorrect.
Step 5: Conclusion.
The possible behaviors are described by options (A), (B), and (C).
Final Answer: (A), (B), (C)
The TCP connection establishment process involves a 3-way handshake. Which of the following steps correctly represents the 3-way handshake?
In a 4-bit ripple counter, if the period of the waveform at the last flip-flop is 64 microseconds, then the frequency of the ripple counter in kHz is ______________. {(Answer in integer)}
Consider the following C code segment:
int x = 126, y = 105;
do {
if (x > y)
x = x - y;
else
y = y - x;
} while (x != y);
printf("%d", x);
The output of the given C code segment is ____________. (Answer in integer)
The following two signed 2’s complement numbers (multiplicand \( M \) and multiplier \( Q \)) are being multiplied using Booth’s algorithm:
| Multiplicand (\( M \)) | Multiplier (\( Q \)) |
|---|---|
| 1100 1101 1110 1101 | 1010 0100 1010 1010 |
The total number of addition and subtraction operations to be performed is __________. (Answer in integer)
The maximum value of \(x\) such that the edge between the nodes B and C is included in every minimum spanning tree of the given graph is __________ (answer in integer).
Consider the following C program
The value printed by the given C program is __________ (Answer in integer).