CS FundamentalsHardGATE CS · networking placement
Client A sends FIN to server B, and B ACKs it but has not yet closed. How many of these are correct? 1. A is in FIN_WAIT_2 and B is in CLOSE_WAIT. 2. B may still send data to A. 3. A must keep acknowledging data that B sends. 4. A may still send new data to B on this connection.
- A. 1
- B. 3
- C. 2
- D. 4
Correct answer: B. 3
After its FIN is ACKed, A sits in FIN_WAIT_2 while B is in CLOSE_WAIT (1). The connection is half-closed: B can keep sending (2) and A must ACK it (3). A gave up the right to send data when it sent FIN, so 4 is false.
More Computer Networks questions
- On a 40 Gbps path a TCP connection's 32-bit sequence space can wrap within the network's maximum segment lifetime, so an old delayed…
- Two HTTPS sites, a.example and b.example, share one IP address and port 443, each with its own certificate. How does the server know which…
- A download of a 10,000,000-byte file over HTTP broke after the first 4,000,000 bytes (bytes 0 to 3,999,999) arrived. To resume, which…
- In an SMTP session between two mail servers, in which order are these commands sent? P. DATA Q. RCPT TO R. EHLO S. MAIL FROM T. QUIT
- A system identifies records by a 64-bit hash. Roughly how many random records must be hashed before the chance of at least one collision…
- Alice and Bob run plain Diffie–Hellman with no authentication of the exchanged values. Mallory sits on the path and can modify messages…