This document summarizes TCP connection establishment and termination. It discusses:
- The need for connection establishment and termination procedures in connection-oriented protocols like TCP to allow communication between endpoints.
- The states involved in connection establishment and termination, including diagrams showing the three-way handshake process.
- How connections are uniquely identified by the source and destination sockets (host and port).
- Problems that can occur with lost or misordered segments during connection termination, and the three-way handshake used to ensure reliable closure.
Related topics: