Searched refs:tcp (Results 1 – 10 of 10) sorted by relevance
/php-uv/tests/ |
H A D | 400-tcp_bind6.phpt | 2 Check for tcp bind 5 $tcp = uv_tcp_init(); 6 uv_tcp_bind6($tcp, uv_ip6_addr('::1', 0)); 7 uv_listen($tcp,100, function($server) { 17 $addrinfo = uv_tcp_getsockname($tcp);
|
H A D | 400-tcp_bind.phpt | 2 Check for tcp bind 5 $tcp = uv_tcp_init(); 6 uv_tcp_bind($tcp, uv_ip4_addr('0.0.0.0',0)); 7 uv_listen($tcp, 100, function($server){ 17 $addrinfo = uv_tcp_getsockname($tcp);
|
H A D | 005-uv_listen_cb-not-destroyed.phpt | 8 private $tcp; 13 $this->tcp = uv_tcp_init($loop); 18 uv_tcp_bind($this->tcp, uv_ip4_addr($address, $port)); 23 uv_listen($this->tcp, 100, function ($server, $status) { 37 if ($this->tcp instanceof UV) { 38 uv_close($this->tcp);
|
H A D | 330-poll.phpt | 5 $socket = stream_socket_server("tcp://0.0.0.0:9999", $errno, $errstr); 23 $tcp = uv_tcp_init(); 24 uv_tcp_connect($tcp, $address, function($client, $stat) {
|
/php-uv/examples/ |
H A D | tcp_bind.php | 2 $tcp = uv_tcp_init(); variable 4 uv_tcp_bind($tcp, uv_ip4_addr('0.0.0.0',9999)); 6 uv_listen($tcp, 100, function($server){
|
H A D | tcp_bind6.php | 2 $tcp = uv_tcp_init(); variable 4 uv_tcp_bind6($tcp, uv_ip6_addr('::1',9999)); 6 uv_listen($tcp,100, function($server){
|
H A D | fingerd.php | 2 $tcp = uv_tcp_init(); variable 4 uv_tcp_bind($tcp, uv_ip4_addr('0.0.0.0',79)); 18 uv_listen($tcp, 100, function($server) use ($users) {
|
/php-uv/ |
H A D | README.md | 31 $tcp = uv_tcp_init(); 91 $tcp = uv_tcp_init(); 92 uv_unref($tcp); 189 $tcp = uv_tcp_init(); 190 uv_ref($tcp); 274 $tcp = uv_tcp_init(); 313 $tcp = uv_tcp_init(); 374 $tcp = uv_tcp_init(); 399 $tcp = uv_tcp_init(); 502 $tcp = uv_tcp_init(); [all …]
|
H A D | php_uv.h | 154 uv_tcp_t tcp; member
|
H A D | php_uv.c | 2352 r = uv_tcp_bind((uv_tcp_t*)&uv->uv.tcp, (const struct sockaddr*)&PHP_UV_SOCKADDR_IPV4(addr), 0); 2355 r = uv_tcp_bind((uv_tcp_t*)&uv->uv.tcp, (const struct sockaddr*)&PHP_UV_SOCKADDR_IPV6(addr), 0); 2390 uv_tcp_getsockname(&uv->uv.tcp, (struct sockaddr*)&addr, &addr_len); 2393 uv_tcp_getpeername(&uv->uv.tcp, (struct sockaddr*)&addr, &addr_len); 2487 …uv_tcp_connect(req, &uv->uv.tcp, (const struct sockaddr*)&PHP_UV_SOCKADDR_IPV4(addr), php_uv_tcp_c… 2489 …uv_tcp_connect(req, &uv->uv.tcp, (const struct sockaddr*)&PHP_UV_SOCKADDR_IPV6(addr), php_uv_tcp_… 3013 ZEND_ARG_INFO(0, tcp) 3854 uv_tcp_nodelay(&client->uv.tcp, bval); 6062 error = uv_tcp_simultaneous_accepts(&uv->uv.tcp, enable);
|
Completed in 29 milliseconds