Home
last modified time | relevance | path

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

/php-uv/examples/
H A Dtcp_bind.php7 $client = uv_tcp_init(); variable
8 uv_accept($server, $client);
11 uv_read_start($client, function($socket, $buffer) use ($server) {
19 uv_tcp_connect($c, uv_ip4_addr('0.0.0.0',9999), function($client, $status) {
21 uv_write($client, "Hello", function($socket, $status) {
H A Dtcp_bind6.php7 $client = uv_tcp_init(); variable
8 uv_accept($server, $client);
11 uv_read_start($client, function($socket, $nread, $buffer) use ($server){
19 uv_tcp_connect($c, uv_ip6_addr('::1',9999), function($client, $stat){
21 uv_write($client,"Hello",function($socket, $stat){
H A Dfingerd.php19 $client = uv_tcp_init(); variable
20 uv_accept($server, $client);
21 uv_read_start($client, function($socket, $buffer) use ($users){
31 uv_write($socket, $data, function($client, $stat) {
32 uv_close($client);
/php-uv/tests/
H A D330-poll.phpt24 uv_tcp_connect($tcp, $address, function($client, $stat) {
28 uv_write($client, $request, function($client, $stat) {
30 uv_read_start($client, function($client, $buffer) {
32 uv_close($client);
35 uv_close($client);
H A D400-tcp_bind6.phpt8 $client = uv_tcp_init();
9 uv_accept($server, $client);
10 uv_read_start($client, function($socket, $buffer) use ($server) {
20 uv_tcp_connect($c, uv_ip6_addr($addrinfo['address'], $addrinfo['port']), function($client, $stat) {
22 uv_write($client,"Hello",function($socket, $stat){
H A D400-tcp_bind.phpt8 $client = uv_tcp_init();
9 uv_accept($server, $client);
10 uv_read_start($client, function($socket, $buffer) use ($server) {
20 uv_tcp_connect($c, uv_ip4_addr($addrinfo['address'],$addrinfo['port']), function($client, $stat) {
22 uv_write($client,"Hello",function($socket, $stat) {
H A D005-uv_listen_cb-not-destroyed.phpt25 $client = uv_tcp_init($this->loop);
26 uv_accept($server, $client);
28 uv_read_start($client, function ($socket, $buffer) {
/php-uv/
H A DREADME.md36 $client = uv_tcp_init();
37 uv_accept($server, $client);
279 $client = uv_tcp_init();
280 uv_accept($server, $client);
317 $client = uv_tcp_init();
318 uv_accept($server, $client);
404 $client = uv_tcp_init();
405 uv_accept($server, $client);
507 $client = uv_tcp_init();
508 uv_accept($server, $client);
[all …]
H A Dphp_uv.c2874 ZEND_ARG_INFO(0, client)
2887 ZEND_ARG_INFO(0, client)
2893 ZEND_ARG_INFO(0, client)
3466 ZEND_ARG_INFO(0, client)
3846 php_uv_t *client; local
3850 UV_PARAM_OBJ(client, php_uv_t, uv_tcp_ce)
3854 uv_tcp_nodelay(&client->uv.tcp, bval);
3862 php_uv_t *server, *client; local
3867 UV_PARAM_OBJ(client, php_uv_t, uv_tcp_ce, uv_pipe_ce)
3870 if (server->std.ce != client->std.ce) {
[all …]

Completed in 26 milliseconds