Connection Termination
- Half Close
- A data flow can only be closed in one direction at a time.
- So, a Connection is terminated by exchanging 4 packets
- 2 communicating nodes play a different role
- active close side
- Sends first FIN(indicate finish of the data flow.
- Active close side waits for a while after it sends last ACK.
- passive close side
- Sends ACK for FIN and then sends second FIN.
- Passive close side waits for last ACK.