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()
87 int php_set_inet_addr(struct sockaddr_in *sin, char *string, php_socket *php_sock) /* {{{ */ argument
102 PHP_SOCKET_ERROR(php_sock, "Host lookup failed", WSAGetLastError());
104 PHP_SOCKET_ERROR(php_sock, "Host lookup failed", (-10000 - h_errno));
121 …t46_addr(php_sockaddr_storage *ss, socklen_t *ss_len, char *string, php_socket *php_sock) /* {{{ */ argument
123 if (php_sock->type == AF_INET) {
125 if (php_set_inet_addr(&t, string, php_sock)) {
133 else if (php_sock->type == AF_INET6) {
135 if (php_set_inet6_addr(&t, string, php_sock)) {