Lines Matching refs:server_sock
182 php_socket_t server_sock; member
2085 if (server->server_sock >= 0) { in php_cli_server_dtor()
2086 closesocket(server->server_sock); in php_cli_server_dtor()
2116 php_socket_t server_sock = SOCK_ERR; in php_cli_server_ctor() local
2156 …server_sock = php_network_listen_socket(host, &port, SOCK_STREAM, &server->address_family, &server… in php_cli_server_ctor()
2157 if (server_sock == SOCK_ERR) { in php_cli_server_ctor()
2163 server->server_sock = server_sock; in php_cli_server_ctor()
2170 php_cli_server_poller_add(&server->poller, POLLIN, server_sock); in php_cli_server_ctor()
2214 if (server_sock >= -1) { in php_cli_server_ctor()
2215 closesocket(server_sock); in php_cli_server_ctor()
2288 if (server->server_sock == fd) { in php_cli_server_do_event_for_each_fd_callback()
2296 client_sock = accept(server->server_sock, sa, &socklen); in php_cli_server_do_event_for_each_fd_callback()