Lines Matching refs:server_sock
185 php_socket_t server_sock; member
2329 if (ZEND_VALID_SOCKET(server->server_sock)) { in php_cli_server_dtor()
2330 closesocket(server->server_sock); in php_cli_server_dtor()
2389 php_socket_t server_sock = SOCK_ERR; in php_cli_server_ctor() local
2429 …server_sock = php_network_listen_socket(host, &port, SOCK_STREAM, &server->address_family, &server… in php_cli_server_ctor()
2430 if (server_sock == SOCK_ERR) { in php_cli_server_ctor()
2438 server->server_sock = server_sock; in php_cli_server_ctor()
2445 php_cli_server_poller_add(&server->poller, POLLIN, server_sock); in php_cli_server_ctor()
2494 if (server_sock > -1) { in php_cli_server_ctor()
2495 closesocket(server_sock); in php_cli_server_ctor()
2569 if (server->server_sock == fd) { in php_cli_server_do_event_for_each_fd_callback()
2574 client_sock = accept(server->server_sock, sa, &socklen); in php_cli_server_do_event_for_each_fd_callback()