Home
last modified time | relevance | path

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

/PHP-7.3/main/
H A Dnetwork.c82 # define SOCK_ERR INVALID_SOCKET macro
91 # define SOCK_ERR -1 macro
191 if (s == SOCK_ERR) { in php_network_getaddresses()
435 if (sock == SOCK_ERR) {
748 if (clisock != SOCK_ERR) {
822 if (sock == SOCK_ERR) {
1216 php_socket_t max_fd = SOCK_ERR;
H A Dphp_network.h103 # define SOCK_ERR INVALID_SOCKET macro
107 # define SOCK_ERR -1 macro
/PHP-7.3/main/streams/
H A Dxp_socket.c197 sock->socket = SOCK_ERR; in php_sockop_close()
199 if (sock->socket != SOCK_ERR) { in php_sockop_close()
215 sock->socket = SOCK_ERR; in php_sockop_close()
630 if (sock->socket == SOCK_ERR) { in php_tcp_sockop_bind()
711 if (sock->socket == SOCK_ERR) { in php_tcp_sockop_connect()
H A Dplain_wrapper.c566 data->fd = SOCK_ERR; in php_stdiop_cast()
572 if (SOCK_ERR == fd) { in php_stdiop_cast()
583 if (SOCK_ERR == fd) { in php_stdiop_cast()
/PHP-7.3/sapi/cli/
H A Dphp_cli_server.c1198 php_socket_t retval = SOCK_ERR; in php_network_listen_socket()
1213 if (retval == SOCK_ERR) { in php_network_listen_socket()
1252 retval = SOCK_ERR; in php_network_listen_socket()
1278 if (retval == SOCK_ERR) { in php_network_listen_socket()
1301 return SOCK_ERR; in php_network_listen_socket()
2260 php_socket_t server_sock = SOCK_ERR; in php_cli_server_ctor()
2301 if (server_sock == SOCK_ERR) { in php_cli_server_ctor()
/PHP-7.3/ext/openssl/
H A Dxp_ssl.c2259 sslsock->s.socket = SOCK_ERR; in php_openssl_sockop_close()
2261 if (sslsock->s.socket != SOCK_ERR) { in php_openssl_sockop_close()
2277 sslsock->s.socket = SOCK_ERR; in php_openssl_sockop_close()
/PHP-7.3/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-7.3/ext/ftp/
H A Dftp.c1675 if ((fd = socket(sa->sa_family, SOCK_STREAM, 0)) == SOCK_ERR) { in ftp_getdata()

Completed in 61 milliseconds