Lines Matching refs:php_sock
16 int php_set_inet6_addr(struct sockaddr_in6 *sin6, char *string, php_socket *php_sock) /* {{{ */ in php_set_inet6_addr() argument
40 PHP_SOCKET_ERROR(php_sock, "Host lookup failed", WSAGetLastError()); in php_set_inet6_addr()
42 PHP_SOCKET_ERROR(php_sock, "Host lookup failed", (-10000 - h_errno)); in php_set_inet6_addr()
85 int php_set_inet_addr(struct sockaddr_in *sin, char *string, php_socket *php_sock) /* {{{ */ in php_set_inet_addr() argument
96 PHP_SOCKET_ERROR(php_sock, "Host lookup failed", WSAGetLastError()); in php_set_inet_addr()
98 PHP_SOCKET_ERROR(php_sock, "Host lookup failed", (-10000 - h_errno)); in php_set_inet_addr()
115 …t46_addr(php_sockaddr_storage *ss, socklen_t *ss_len, char *string, php_socket *php_sock) /* {{{ */ in php_set_inet46_addr() argument
117 if (php_sock->type == AF_INET) { in php_set_inet46_addr()
119 if (php_set_inet_addr(&t, string, php_sock)) { in php_set_inet46_addr()
127 else if (php_sock->type == AF_INET6) { in php_set_inet46_addr()
129 if (php_set_inet6_addr(&t, string, php_sock)) { in php_set_inet46_addr()