Between The Two Fins
A client calls close() first. The connection walks through these states:
| step | segment | client | server |
|---|---|---|---|
| 1 | client sends FIN | FIN-WAIT-1 | ESTABLISHED |
| 2 | server ACKs the FIN | FIN-WAIT-2 | CLOSE-WAIT |
| 3 | server's app calls close(), sends FIN |
TIME-WAIT | LAST-ACK |
| 4 | client ACKs | TIME-WAIT | CLOSED |
The server sits in CLOSE-WAIT for 30 seconds before step 3. What is true of that window, and of the client's TIME-WAIT?
Sign in to answer questions and track your progress
Sign In