int getaddrinfo( const char *hostname, const char *service, const struct addrinfo *hints, ...
1.getaddrinfo函数原型 函数 参数说明 int getaddrinfo( const char* nodename const char* servname, const struct addrinfo* hints,// struct addrinfo** res ); nod ...