Home
last modified time | relevance | path

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

/PHP-7.1/sapi/cli/
H A Dphp_cli_server.c1854 …or(php_cli_server_client *client, php_cli_server *server, php_socket_t client_sock, struct sockadd… in php_cli_server_client_ctor() argument
1857 client->sock = client_sock; in php_cli_server_client_ctor()
2460 php_socket_t client_sock; in php_cli_server_do_event_for_each_fd_callback() local
2466 client_sock = accept(server->server_sock, sa, &socklen); in php_cli_server_do_event_for_each_fd_callback()
2467 if (!ZEND_VALID_SOCKET(client_sock)) { in php_cli_server_do_event_for_each_fd_callback()
2475 if (SUCCESS != php_set_sock_blocking(client_sock, 0)) { in php_cli_server_do_event_for_each_fd_callback()
2477 closesocket(client_sock); in php_cli_server_do_event_for_each_fd_callback()
2480 …_client), 1)) || FAILURE == php_cli_server_client_ctor(client, server, client_sock, sa, socklen)) { in php_cli_server_do_event_for_each_fd_callback()
2483 closesocket(client_sock); in php_cli_server_do_event_for_each_fd_callback()
2489 zend_hash_index_update_ptr(&server->clients, client_sock, client); in php_cli_server_do_event_for_each_fd_callback()

Completed in 28 milliseconds