Next, your program must create a socket, using a socket statement, again, exactly like the corresponding statement in the server:
socket
socket_number = socket (AF_INET, SOCK_STREAM, 0);