Lines Matching refs:host

158 PHPAPI int php_network_getaddresses(const char *host, int socktype, struct sockaddr ***sal, zend_st…  in php_network_getaddresses()  argument
172 if (host == NULL) { in php_network_getaddresses()
202 if ((n = getaddrinfo(host, NULL, &hints, &res))) { in php_network_getaddresses()
244 if (!inet_aton(host, &in)) { in php_network_getaddresses()
245 if(strlen(host) > MAXFQDNLEN) { in php_network_getaddresses()
249 host_info = php_network_gethostbyname(host); in php_network_getaddresses()
413 php_socket_t php_network_bind_socket_to_local_addr(const char *host, unsigned port, argument
423 num_addrs = php_network_getaddresses(host, socktype, &psal, error_string);
783 php_socket_t php_network_connect_socket_to_host(const char *host, unsigned short port, argument
797 num_addrs = php_network_getaddresses(host, socktype, &psal, error_string);
1109 PHPAPI php_stream *_php_stream_sock_open_host(const char *host, unsigned short port, argument
1116 reslen = spprintf(&res, 0, "tcp://%s:%d", host, port);
1253 struct hostent * gethostname_re (const char *host,struct hostent *hostbuf,char **tmphstbuf,size_t *… argument
1264 gethostbyname_r(host,hostbuf,*tmphstbuf,*hstbuflen,&hp,&herr))
1279 struct hostent * gethostname_re (const char *host,struct hostent *hostbuf,char **tmphstbuf,size_t *… argument
1290 gethostbyname_r(host,hostbuf,*tmphstbuf,*hstbuflen,&herr)))
1300 struct hostent * gethostname_re (const char *host,struct hostent *hostbuf,char **tmphstbuf,size_t *… argument
1313 if (SUCCESS != gethostbyname_r(host,hostbuf,(struct hostent_data *)*tmphstbuf)) {