Home
last modified time | relevance | path

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

/PHP-7.2/ext/sockets/
H A Dsockaddr_conv.c88 struct hostent *host_entry; in php_set_inet_addr() local
93 if (strlen(string) > MAXFQDNLEN || ! (host_entry = php_network_gethostbyname(string))) { in php_set_inet_addr()
102 if (host_entry->h_addrtype != AF_INET) { in php_set_inet_addr()
106 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