Home | History | Annotate | Download | only in src

Lines Matching defs:he

66     struct hostent* he = gethostbyname(host.c_str());
68 if (he == NULL || he->h_addr == NULL || he->h_addrtype != AF_INET) {
73 if (inet_ntop(he->h_addrtype, he->h_addr, tmp, sizeof(tmp)) == NULL) {
83 struct hostent* he = gethostbyname(host.c_str());
85 if (he == NULL) {
89 for (char** addr = &he->h_addr; *addr != NULL; ++addr) {
97 *ip_address_list = std::string(he->h_addr);