Client Code
• TCP clients can connect to a server,
which:
• takes care of establishing an endpoint
address for the client socket.
•  don’t need to call bind first, the O.S. will take
care of assigning the local endpoint address
(TCP port number, IP address).
• Attempts to establish a connection to the
specified server.
• 3-way handshake