Searched refs:udpServer (Results 1 – 2 of 2) sorted by relevance
/libuv/test/ |
H A D | test-getsockname.c | 42 static uv_udp_t udpServer; variable 280 r = uv_udp_init(loop, &udpServer); in udp_listener() 286 r = uv_udp_bind(&udpServer, (const struct sockaddr*) &addr, 0); in udp_listener() 294 r = uv_udp_getsockname(&udpServer, &sockname, &namelen); in udp_listener() 299 r = uv_udp_recv_start(&udpServer, alloc, udp_recv); in udp_listener() 358 ASSERT_OK(udpServer.send_queue_size); in TEST_IMPL()
|
H A D | echo-server.c | 37 static uv_udp_t udpServer; variable 325 server = (uv_handle_t*)&udpServer; in udp4_echo_start() 328 r = uv_udp_init(loop, &udpServer); in udp4_echo_start() 334 r = uv_udp_bind(&udpServer, (const struct sockaddr*) &addr, 0); in udp4_echo_start() 340 r = uv_udp_recv_start(&udpServer, slab_alloc, on_recv); in udp4_echo_start()
|
Completed in 8 milliseconds