Lines Matching refs:server_sock
184 php_socket_t server_sock; member
2227 if (ZEND_VALID_SOCKET(server->server_sock)) { in php_cli_server_dtor()
2228 closesocket(server->server_sock); in php_cli_server_dtor()
2260 php_socket_t server_sock = SOCK_ERR; in php_cli_server_ctor() local
2300 …server_sock = php_network_listen_socket(host, &port, SOCK_STREAM, &server->address_family, &server… in php_cli_server_ctor()
2301 if (server_sock == SOCK_ERR) { in php_cli_server_ctor()
2309 server->server_sock = server_sock; in php_cli_server_ctor()
2316 php_cli_server_poller_add(&server->poller, POLLIN, server_sock); in php_cli_server_ctor()
2365 if (server_sock > -1) { in php_cli_server_ctor()
2366 closesocket(server_sock); in php_cli_server_ctor()
2439 if (server->server_sock == fd) { in php_cli_server_do_event_for_each_fd_callback()
2444 client_sock = accept(server->server_sock, sa, &socklen); in php_cli_server_do_event_for_each_fd_callback()