Searched refs:udp (Results 1 – 6 of 6) sorted by relevance
/php-uv/examples/ |
H A D | udp_bind.php | 2 $udp = uv_udp_init(); variable 3 var_dump($udp); 5 uv_udp_bind($udp, uv_ip4_addr('0.0.0.0', 10000)); 6 uv_udp_recv_start($udp,function($stream, $buffer){
|
/php-uv/tests/ |
H A D | 500-udp_bind.phpt | 2 Check for udp bind 5 $udp = uv_udp_init(); 6 uv_udp_bind($udp, uv_ip4_addr('0.0.0.0', 10000)); 8 uv_udp_recv_start($udp, function($stream, $buffer) {
|
H A D | 500-udp_bind6.phpt | 2 Check for udp bind 5 $udp = uv_udp_init(); 6 uv_udp_bind6($udp, uv_ip6_addr('::1',10000)); 8 uv_udp_recv_start($udp,function($stream, $buffer) {
|
/php-uv/ |
H A D | README.md | 991 create a udp socket. 1005 $udp = uv_udp_init(); 1032 $udp = uv_udp_init(); 1033 var_dump($udp); 1076 $udp = uv_udp_init(); 1077 var_dump($udp); 1118 $udp = uv_udp_init(); 1119 var_dump($udp); 1224 set udp broadcast 1265 var_dump($udp); [all …]
|
H A D | php_uv.h | 155 uv_udp_t udp; member
|
H A D | php_uv.c | 2358 …r = uv_udp_bind((uv_udp_t*)&uv->uv.udp, (const struct sockaddr*)&PHP_UV_SOCKADDR_IPV4(addr), flags… 2361 …r = uv_udp_bind((uv_udp_t*)&uv->uv.udp, (const struct sockaddr*)&PHP_UV_SOCKADDR_IPV6(addr), flags… 2396 uv_udp_getsockname(&uv->uv.udp, (struct sockaddr*)&addr, &addr_len); 2458 …uv_udp_send(&w->req, &uv->uv.udp, &w->buf, 1, (const struct sockaddr*)&PHP_UV_SOCKADDR_IPV4(addr),… 2460 …uv_udp_send(&w->req, &uv->uv.udp, &w->buf, 1, (const struct sockaddr*)&PHP_UV_SOCKADDR_IPV6(addr),… 4471 r = uv_udp_recv_start(&uv->uv.udp, php_uv_read_alloc, php_uv_udp_recv_cb); 4494 uv_udp_recv_stop(&uv->uv.udp); 4517 …error = uv_udp_set_membership(&uv->uv.udp, (const char *) multicast_addr->val, (const char *) inte… 4537 r = uv_udp_set_multicast_loop((uv_udp_t*)&uv->uv.udp, enabled); 4565 r = uv_udp_set_multicast_ttl(&uv->uv.udp, ttl); [all …]
|
Completed in 33 milliseconds