Transport, Congestion Control & Traffic Shaping

Your answer
Answer & solution
Official answer: D
1. The client is the active closer because it sends FIN first. Sending FIN moves it from ESTABLISHED into FIN-WAIT-1.
2. The ACK acknowledges that outgoing FIN. The client has finished its own send direction but the server has not yet sent its FIN, so it enters FIN-WAIT-2.
3. Receiving the peer FIN and acknowledging it leads to TIME-WAIT. LAST-ACK belongs to the passive closer awaiting acknowledgment of its own FIN. Therefore D.