Home
last modified time | relevance | path

Searched refs:host_entry (Results 1 – 1 of 1) sorted by relevance

/php-src/ext/sockets/
H A Dsockaddr_conv.c90 struct hostent *host_entry; in php_set_inet_addr() local
95 if (strlen(string) > MAXFQDNLEN || ! (host_entry = php_network_gethostbyname(string))) { in php_set_inet_addr()
104 if (host_entry->h_addrtype != AF_INET) { in php_set_inet_addr()
108 memcpy(&(sin->sin_addr.s_addr), host_entry->h_addr_list[0], host_entry->h_length); in php_set_inet_addr()

Completed in 5 milliseconds