Home
last modified time | relevance | path

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

/php-uv/tests/
H A D400-tcp_bind6.phpt2 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 D400-tcp_bind.phpt2 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 D005-uv_listen_cb-not-destroyed.phpt8 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 D330-poll.phpt5 $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 Dtcp_bind.php2 $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 Dtcp_bind6.php2 $tcp = uv_tcp_init(); variable
4 uv_tcp_bind6($tcp, uv_ip6_addr('::1',9999));
6 uv_listen($tcp,100, function($server){
H A Dfingerd.php2 $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 DREADME.md31 $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 Dphp_uv.h154 uv_tcp_t tcp; member
H A Dphp_uv.c2352 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 52 milliseconds