The server is just the program that has bound itself to a port and will handle any data that is sent to that port. The client doesn't need to bind itself to anything, it just sends
and receives data from the socket it's connected on. The
simple socket example shows the client sending and receiving data from the server.