Home
last modified time | relevance | path

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

/php-src/main/
H A Dnetwork.c76 # define SOCK_ERR INVALID_SOCKET macro
85 # define SOCK_ERR -1 macro
182 if (s == SOCK_ERR) { in php_network_getaddresses()
452 if (sock == SOCK_ERR) {
742 if (clisock != SOCK_ERR) {
841 if (sock == SOCK_ERR) {
1175 php_socket_t max_fd = SOCK_ERR; /* effectively unused on Windows */
H A Dphp_network.h104 # define SOCK_ERR INVALID_SOCKET macro
108 # define SOCK_ERR -1 macro
/php-src/main/streams/
H A Dxp_socket.c227 sock->socket = SOCK_ERR; in php_sockop_close()
229 if (sock->socket != SOCK_ERR) { in php_sockop_close()
245 sock->socket = SOCK_ERR; in php_sockop_close()
676 if (sock->socket == SOCK_ERR) { in php_tcp_sockop_bind()
757 if (sock->socket == SOCK_ERR) { in php_tcp_sockop_connect()
H A Dplain_wrapper.c625 data->fd = SOCK_ERR; in php_stdiop_cast()
631 if (SOCK_ERR == fd) { in php_stdiop_cast()
642 if (SOCK_ERR == fd) { in php_stdiop_cast()
/php-src/sapi/cli/
H A Dphp_cli_server.c1285 php_socket_t retval = SOCK_ERR; in php_network_listen_socket()
1300 if (retval == SOCK_ERR) { in php_network_listen_socket()
1339 retval = SOCK_ERR; in php_network_listen_socket()
1365 if (retval == SOCK_ERR) { in php_network_listen_socket()
1388 return SOCK_ERR; in php_network_listen_socket()
2552 php_socket_t server_sock = SOCK_ERR; in php_cli_server_ctor()
2562 if (server_sock == SOCK_ERR) { in php_cli_server_ctor()
/php-src/ext/openssl/
H A Dxp_ssl.c2262 sslsock->s.socket = SOCK_ERR; in php_openssl_sockop_close()
2264 if (sslsock->s.socket != SOCK_ERR) { in php_openssl_sockop_close()
2280 sslsock->s.socket = SOCK_ERR; in php_openssl_sockop_close()
/php-src/ext/standard/
H A Dstreamsfuncs.c690 …P_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (void*)&this_fd, 1) && this_fd != SOCK_ERR) { in stream_array_from_fd_set()
/php-src/ext/ftp/
H A Dftp.c1682 if ((fd = socket(sa->sa_family, SOCK_STREAM, 0)) == SOCK_ERR) { in ftp_getdata()

Completed in 66 milliseconds