Canonical Interview Question

Explain the process of opening and closing a TCP connection.