Home
last modified time | relevance | path

Searched refs:uv_udp_bind (Results 1 – 25 of 34) sorted by relevance

12

/libuv/test/
H A Dtest-udp-bind.c46 r = uv_udp_bind(&h1, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
49 r = uv_udp_bind(&h2, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
79 r = uv_udp_bind(&h1, (const struct sockaddr*) &addr, UV_UDP_REUSEADDR); in TEST_IMPL()
82 r = uv_udp_bind(&h2, (const struct sockaddr*) &addr, UV_UDP_REUSEADDR); in TEST_IMPL()
H A Dtest-udp-reuseport.c48 r = uv_udp_bind(&handle1, (const struct sockaddr*) &addr1, UV_UDP_REUSEADDR); in TEST_IMPL()
54 r = uv_udp_bind(&handle2, (const struct sockaddr*) &addr2, UV_UDP_REUSEPORT); in TEST_IMPL()
63 r = uv_udp_bind(&handle3, (const struct sockaddr*) &addr3, in TEST_IMPL()
177 r = uv_udp_bind(handle, (const struct sockaddr*) &addr, in bind_socket_and_prepare_recv()
H A Dtest-udp-create-socket-early.c60 r = uv_udp_bind(&client, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
110 r = uv_udp_bind(&client, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
H A Dtest-udp-send-unreachable.c131 r = uv_udp_bind(&client, (const struct sockaddr*) &addr2, 0); in TEST_IMPL()
162 r = uv_udp_bind(&client2, in TEST_IMPL()
H A Dtest-socket-buffer-size.c67 ASSERT_OK(uv_udp_bind(&udp, (struct sockaddr*) &addr, 0)); in TEST_IMPL()
H A Dtest-udp-multicast-ttl.c66 r = uv_udp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
H A Dtest-udp-multicast-interface.c74 r = uv_udp_bind(&server, (const struct sockaddr*)&baddr, 0); in TEST_IMPL()
H A Dtest-udp-multicast-interface6.c77 r = uv_udp_bind(&server, (const struct sockaddr*)&baddr, 0); in TEST_IMPL()
H A Dtest-watcher-cross-stop.c85 ASSERT_OK(uv_udp_bind(&sockets[i], in TEST_IMPL()
H A Dtest-udp-recv-in-a-row.c95 ASSERT_OK(uv_udp_bind(&server, (const struct sockaddr*) &addr, 0)); in TEST_IMPL()
H A Dtest-udp-open.c156 r = uv_udp_bind(&client, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
277 r = uv_udp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
H A Dtest-udp-send-immediate.c108 r = uv_udp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
H A Dtest-udp-mmsg.c119 ASSERT_OK(uv_udp_bind(&recver, (const struct sockaddr*) &addr, 0)); in TEST_IMPL()
H A Dbenchmark-ping-udp.c129 r = uv_udp_bind(&pinger->udp, (const struct sockaddr*) &pinger->server_addr, 0); in udp_pinger_new()
H A Dtest-udp-options.c43 r = uv_udp_bind(&h, addr, 0); in udp_options_test()
H A Dtest-udp-try-send.c96 r = uv_udp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
H A Dtest-udp-alloc-cb-fail.c160 r = uv_udp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
H A Dtest-handle-fileno.c83 r = uv_udp_bind(&udp, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
H A Dtest-udp-multicast-join.c162 r = uv_udp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
H A Dtest-udp-send-and-recv.c171 r = uv_udp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
H A Dtest-udp-multicast-join6.c185 r = uv_udp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
H A Dtest-udp-connect.c115 r = uv_udp_bind(&server, (const struct sockaddr*) &lo_addr, 0); in TEST_IMPL()
H A Dbenchmark-udp-pummel.c177 ASSERT_OK(uv_udp_bind(&s->udp_handle, (const struct sockaddr*) &addr, 0)); in pummel()
/libuv/docs/code/udp-dhcp/
H A Dmain.c111 uv_udp_bind(&recv_socket, (const struct sockaddr *)&recv_addr, UV_UDP_REUSEADDR); in main()
117 uv_udp_bind(&send_socket, (const struct sockaddr *)&broadcast_addr, 0); in main()
/libuv/docs/src/
H A Dudp.rst23 Flags used in :c:func:`uv_udp_bind` and :c:type:`uv_udp_recv_cb`..
192 .. c:function:: int uv_udp_bind(uv_udp_t* handle, const struct sockaddr* addr, unsigned int flags)
316 been bound to an address explicitly with :c:func:`uv_udp_bind`, or
329 been bound to an address explicitly with :c:func:`uv_udp_bind`, or
342 been bound to an address explicitly with :c:func:`uv_udp_bind`, or
355 been bound to an address explicitly with :c:func:`uv_udp_bind`, or
368 been bound to an address explicitly with :c:func:`uv_udp_bind`, or
378 with :c:func:`uv_udp_bind` it will be bound to 0.0.0.0
434 be fully initialized; call c:func:`uv_udp_bind` first.
446 with :c:func:`uv_udp_bind` it is bound to 0.0.0.0 (the "all interfaces"

Completed in 35 milliseconds

12