Lines Matching refs:hostname
285 struct hostent * wxGethostbyname_r(const char *hostname, struct hostent *h,
292 if (gethostbyname_r(hostname, h, (char*)buffer, size, &he, err))
295 he = gethostbyname_r(hostname, h, (char*)buffer, size, err);
297 if (gethostbyname_r(hostname, h, (struct hostent_data*) buffer))
308 he = gethostbyname(hostname);
2053 GSocketError GAddress_INET_SetHostName(GAddress *address, const char *hostname)
2066 if (inet_aton(hostname, addr) == 0)
2069 if ( (addr->s_addr = inet_addr(hostname)) == (unsigned)-1 )
2090 he = wxGethostbyname_r(hostname, &h, (void*)&buffer, sizeof(buffer), &err);
2187 GSocketError GAddress_INET_GetHostName(GAddress *address, char *hostname, size_t sbuf)
2215 strncpy(hostname, he->h_name, sbuf);