# define h_addr h_addr_list[0]
#endif
#define inaddr_copy(hp,sin) \
memcpy((char *) &((sin)->sin_addr), (hp)->h_addr, (hp)->h_length)
# define h_addr h_addr_list[0]
#endif
#define inaddr_copy(hp,sin) \
memcpy((char *) &((sin)->sin_addr), (hp)->h_addr, (hp)->h_length)
#define start_tcp_client(sock,priv) \
socket (AF_INET, SOCK_STREAM, 0)
#define start_tcp_client(sock,priv) \
socket (AF_INET, SOCK_STREAM, 0)