Home
last modified time | relevance | path

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

/PHP-8.1/sapi/cli/
H A Dphp_cli_server.c1897 …or(php_cli_server_client *client, php_cli_server *server, php_socket_t client_sock, struct sockadd… in php_cli_server_client_ctor() argument
1900 client->sock = client_sock; in php_cli_server_client_ctor()
2602 php_socket_t client_sock; in php_cli_server_do_event_for_each_fd_callback() local
2605 client_sock = accept(server->server_sock, sa, &socklen); in php_cli_server_do_event_for_each_fd_callback()
2606 if (!ZEND_VALID_SOCKET(client_sock)) { in php_cli_server_do_event_for_each_fd_callback()
2617 if (SUCCESS != php_set_sock_blocking(client_sock, 0)) { in php_cli_server_do_event_for_each_fd_callback()
2619 closesocket(client_sock); in php_cli_server_do_event_for_each_fd_callback()
2623 if (FAILURE == php_cli_server_client_ctor(client, server, client_sock, sa, socklen)) { in php_cli_server_do_event_for_each_fd_callback()
2626 closesocket(client_sock); in php_cli_server_do_event_for_each_fd_callback()
2632 zend_hash_index_update_ptr(&server->clients, client_sock, client); in php_cli_server_do_event_for_each_fd_callback()

Completed in 11 milliseconds