Create connectsock.c

trans:
service name to port number
host name to IP address
transport protocol to protocol number
socket protocol

then socket, and connect