End stations exchange control bits called SYN (for
synchronize) and Initial Sequence Numbers (ISN)
to synchronize during connection establishment.
TCP/IP uses what is known as a three-way handshake
to establish connections.
To synchronize the connection, each side sends its
own initial sequence number and expects to
receive a confirmation in an acknowledgment
(ACK) from the other side. The following figure
shows an example.