Searched refs:socket (Results 1 – 11 of 11) sorted by relevance
/php-uv/examples/ |
H A D | poll.php | 3 $socket = stream_socket_server("tcp://0.0.0.0:9999", $errno, $errstr); variable 4 stream_set_blocking($socket, 0); 6 $poll = uv_poll_init(uv_default_loop(), $socket); 8 uv_poll_start($poll, UV::READABLE, function($poll, $stat, $ev, $socket) { 11 $conn = stream_socket_accept($socket);
|
H A D | tcp_bind.php | 11 uv_read_start($client, function($socket, $buffer) use ($server) { 13 uv_close($socket); 21 uv_write($client, "Hello", function($socket, $status) { 22 uv_close($socket);
|
H A D | tcp_bind6.php | 11 uv_read_start($client, function($socket, $nread, $buffer) use ($server){ 13 uv_close($socket); 21 uv_write($client,"Hello",function($socket, $stat){ 22 uv_close($socket);
|
H A D | fingerd.php | 21 uv_read_start($client, function($socket, $buffer) use ($users){ 31 uv_write($socket, $data, function($client, $stat) { 36 uv_close($socket);
|
/php-uv/tests/ |
H A D | 400-tcp_bind6.phpt | 10 uv_read_start($client, function($socket, $buffer) use ($server) { 12 uv_close($socket); 22 uv_write($client,"Hello",function($socket, $stat){ 23 uv_close($socket, function() { });
|
H A D | 400-tcp_bind.phpt | 10 uv_read_start($client, function($socket, $buffer) use ($server) { 12 uv_close($socket); 22 uv_write($client,"Hello",function($socket, $stat) { 23 uv_close($socket,function() { });
|
H A D | 330-poll.phpt | 5 $socket = stream_socket_server("tcp://0.0.0.0:9999", $errno, $errstr); 6 stream_set_blocking($socket, 0); 8 $poll = uv_poll_init(uv_default_loop(), $socket); 9 uv_poll_start($poll, UV::READABLE, function($poll, $stat, $ev, $socket) { 10 $conn = stream_socket_accept($socket);
|
H A D | 005-uv_listen_cb-not-destroyed.phpt | 28 uv_read_start($client, function ($socket, $buffer) { 30 uv_close($socket);
|
H A D | 800-uv_stdio_new-issue59.phpt | 9 Warning: uv_stdio_new(): passed unexpected value, expected instance of UV, file resource or socket …
|
/php-uv/ |
H A D | README.md | 42 uv_close($socket); 258 binds a name to a socket. 285 uv_close($socket); 297 binds a name to a socket. 323 uv_close($socket); 410 uv_close($socket); 512 uv_read_stop($socket); 514 uv_close($socket); 613 uv_close($socket); 926 create a tcp socket. [all …]
|
H A D | php_uv.c | 428 php_socket *socket; local 457 …} else if (php_sockets_le_socket_ptr && (socket = (php_socket *) zend_fetch_resource_ex(ptr, NULL,… 458 fd = socket->bsd_socket; 466 fd = socket->bsd_socket; 478 php_socket *socket; local 488 fd = socket->bsd_socket; 510 fd = socket->bsd_socket; 4855 php_socket *socket; local 4881 …} else if ((socket = (php_socket *) zend_fetch_resource_ex(handle, NULL, php_sockets_le_socket()))… 4882 fd = socket->bsd_socket; [all …]
|
Completed in 31 milliseconds