Home
last modified time | relevance | path

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

/php-uv/examples/
H A Dpoll.php11 $conn = stream_socket_accept($socket); variable
13 $pp = uv_poll_init(uv_default_loop(), $conn);
14 uv_poll_start($pp, UV::WRITABLE, function($poll, $stat, $ev, $conn) {
17 var_dump($conn);
20 uv_fs_write(uv_default_loop(), $conn, "Hello World", -1, function($conn, $nwrite) {
21 var_dump($conn);
22 fclose($conn);
/php-uv/tests/
H A D330-poll.phpt10 $conn = stream_socket_accept($socket);
13 $pp = uv_poll_init(uv_default_loop(), $conn);
14 uv_poll_start($pp, UV::WRITABLE, function($poll, $stat, $ev, $conn) use (&$pp) {
16 uv_fs_write(uv_default_loop(), $conn, "OK", -1, function($conn, $nwrite){
17 fclose($conn);
/php-uv/
H A DREADME.md2871 uv_poll_start($poll, UV::WRITABLE, function($poll, $stat, $ev, $conn){
2872 fwrite($conn, "Hello");
2873 fclose($conn);

Completed in 13 milliseconds