Home
last modified time | relevance | path

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

/PHP-5.3/main/streams/
H A Dxp_socket.c73 long err = php_socket_errno(); in php_sockop_write()
94 err = php_socket_errno(); in php_sockop_write()
139 if (php_socket_errno() != EINTR) in php_sock_stream_wait_for_data()
161 stream->eof = (nr_bytes == 0 || (nr_bytes == -1 && php_socket_errno() != EWOULDBLOCK)); in php_sockop_read()
201 } while (n == -1 && php_socket_errno() == EINTR); in php_sockop_close()
296 … if (0 >= recv(sock->socket, &buf, sizeof(buf), MSG_PEEK) && php_socket_errno() != EWOULDBLOCK) { in php_sockop_set_option()
359 char *err = php_socket_strerror(php_socket_errno(), NULL, 0); in php_sockop_set_option()
/PHP-5.3/main/
H A Dphp_network.h54 #define php_socket_errno() WSAGetLastError() macro
56 #define php_socket_errno() errno macro
H A Dnetwork.c318 error = php_socket_errno();
476 err = php_socket_errno();
724 error = php_socket_errno();
736 error = php_socket_errno();
/PHP-5.3/ext/openssl/
H A Dxp_ssl.c123 char *estr = php_socket_strerror(php_socket_errno(), NULL, 0); in handle_ssl_error()
281 } while (n == -1 && php_socket_errno() == EINTR); in php_openssl_sockop_close()
711 alive = php_socket_errno() == EAGAIN; in php_openssl_sockop_set_option()
727 …} else if (0 == recv(sslsock->s.socket, &buf, sizeof(buf), MSG_PEEK) && php_socket_errno() != EAGA… in php_openssl_sockop_set_option()
/PHP-5.3/ext/standard/
H A Dstreamsfuncs.c64 php_socket_errno(), php_socket_strerror(php_socket_errno(), errbuf, sizeof(errbuf))); in PHP_FUNCTION()

Completed in 33 milliseconds