<human>:  When a TCP connection is established, what is the first thing that happens?
<bot>: The first thing that happens is that the TCP connection is established. This means that the two computers are able to communicate with each other. The two computers exchange a series of messages to establish the connection.