Searched refs:SOCK_ERR (Results 1 – 8 of 8) sorted by relevance
76 # define SOCK_ERR INVALID_SOCKET macro85 # define SOCK_ERR -1 macro182 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 */
104 # define SOCK_ERR INVALID_SOCKET macro108 # define SOCK_ERR -1 macro
227 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()
625 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()
1285 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()
2262 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()
690 …P_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (void*)&this_fd, 1) && this_fd != SOCK_ERR) { in stream_array_from_fd_set()
1682 if ((fd = socket(sa->sa_family, SOCK_STREAM, 0)) == SOCK_ERR) { in ftp_getdata()
Completed in 66 milliseconds