#include #include #include #include #include #include #include struct sockaddr_in sock; /* Structure for socket address */ long address; /* Remote IP (4 octet) address */ struct hostent *ph; int tcp_sock; struct in_addr **pptr; int con_sock;