Home
last modified time | relevance | path

Searched refs:uv_tcp_bind (Results 1 – 25 of 43) sorted by relevance

12

/libuv/test/
H A Dtest-tcp-bind-error.c58 ASSERT_OK(uv_tcp_bind(&conn, (const struct sockaddr*) &addr, 0)); in TEST_IMPL()
88 r = uv_tcp_bind(&server1, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
93 r = uv_tcp_bind(&server2, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
124 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
147 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
172 r = uv_tcp_bind(&server, (const struct sockaddr*) garbage_addr, 0); in TEST_IMPL()
198 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr1, 0); in TEST_IMPL()
200 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr2, 0); in TEST_IMPL()
223 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
273 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
[all …]
H A Dtest-tcp-bind6-error.c49 r = uv_tcp_bind(&server1, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
54 r = uv_tcp_bind(&server2, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
86 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
114 r = uv_tcp_bind(&server, (const struct sockaddr*) garbage_addr, 0); in TEST_IMPL()
143 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr1, 0); in TEST_IMPL()
145 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr2, 0); in TEST_IMPL()
171 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
H A Dtest-tcp-create-socket-early.c69 r = uv_tcp_bind(server, (const struct sockaddr*) &addr, 0); in tcp_listener()
120 r = uv_tcp_bind(&client, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
170 r = uv_tcp_bind(&client, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
H A Dtest-ipc.c482 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
507 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
699 r = uv_tcp_bind(&tcp_server, (const struct sockaddr*) &addr, 0); in ipc_helper()
752 r = uv_tcp_bind(&tcp_server, (const struct sockaddr*) &addr, 0); in ipc_helper_tcp_connection()
808 r = uv_tcp_bind(&tcp_server, (const struct sockaddr*) &addr, 0); in ipc_helper_bind_twice()
810 r = uv_tcp_bind(&tcp_server2, (const struct sockaddr*) &addr, 0); in ipc_helper_bind_twice()
H A Dtest-socket-buffer-size.c62 ASSERT_OK(uv_tcp_bind(&tcp, (struct sockaddr*) &addr, 0)); in TEST_IMPL()
H A Dtest-tcp-reuseport.c46 r = uv_tcp_bind(&handle, (const struct sockaddr*) &addr, UV_TCP_REUSEPORT); in TEST_IMPL()
142 r = uv_tcp_bind(handle, (const struct sockaddr*) &addr, UV_TCP_REUSEPORT); in create_listener()
H A Dtest-multiple-listen.c56 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr, 0); in start_server()
H A Dtest-emfile.c65 ASSERT_OK(uv_tcp_bind(&server_handle, (const struct sockaddr*) &addr, 0)); in TEST_IMPL()
H A Dtest-connection-fail.c103 ASSERT_OK(uv_tcp_bind(&tcp, (const struct sockaddr*) &client_addr, 0)); in connection_fail()
H A Dtest-tcp-try-write-error.c80 ASSERT_OK(uv_tcp_bind(&server, (struct sockaddr*) &addr, 0)); in start_server()
H A Dtest-tcp-try-write.c106 ASSERT_OK(uv_tcp_bind(&server, (struct sockaddr*) &addr, 0)); in start_server()
H A Dtest-tcp-alloc-cb-fail.c96 ASSERT_OK(uv_tcp_bind(&server, (struct sockaddr*) &addr, 0)); in start_server()
H A Dtest-tcp-close.c88 r = uv_tcp_bind(handle, (const struct sockaddr*) &addr, 0); in start_server()
H A Dtest-tcp-unexpected-read.c101 ASSERT_OK(uv_tcp_bind(&server_handle, (const struct sockaddr*) &addr, 0)); in TEST_IMPL()
H A Dtest-tcp-write-queue-order.c105 ASSERT_OK(uv_tcp_bind(&server, (struct sockaddr*) &addr, 0)); in start_server()
H A Dblackhole-server.c111 r = uv_tcp_bind(&tcp_server, (const struct sockaddr*) &addr, 0); in HELPER_IMPL()
H A Decho-server.c267 r = uv_tcp_bind(&tcpServer, (const struct sockaddr*) &addr, 0); in tcp4_echo_start()
302 r = uv_tcp_bind(&tcpServer, (const struct sockaddr*) &addr6, 0); in tcp6_echo_start()
H A Dtest-tcp-oob.c124 ASSERT_OK(uv_tcp_bind(&server_handle, (const struct sockaddr*) &addr, 0)); in TEST_IMPL()
H A Dtest-tcp-read-stop-start.c114 ASSERT_OK(uv_tcp_bind(&server, (struct sockaddr*) & addr, 0)); in TEST_IMPL()
H A Dtest-osx-select.c105 r = uv_tcp_bind(&tcps[i], (const struct sockaddr *) &addr, 0); in TEST_IMPL()
H A Dtest-tcp-write-in-a-row.c110 ASSERT_OK(uv_tcp_bind(&server, (struct sockaddr*) &addr, 0)); in start_server()
/libuv/docs/src/
H A Dmigration_010_100.rst112 libuv 1.0 unified the IPv4 and IPv6 APIS. There is no longer a `uv_tcp_bind` and `uv_tcp_bind6`
113 duality, there is only :c:func:`uv_tcp_bind` now.
125 uv_tcp_bind(&server, addr)
134 uv_tcp_bind(&server, (const struct sockaddr*) &addr, 0);
H A Dtcp.rst21 Flags used in :c:func:`uv_tcp_bind`.
26 /* Used with uv_tcp_bind, when an IPv6 address is used. */
104 .. c:function:: int uv_tcp_bind(uv_tcp_t* handle, const struct sockaddr* addr, unsigned int flags)
/libuv/docs/code/cgi/
H A Dmain.c74 uv_tcp_bind(&server, (const struct sockaddr *)&bind_addr, 0); in main()
/libuv/docs/code/tcp-echo-server/
H A Dmain.c80 uv_tcp_bind(&server, (const struct sockaddr*)&addr, 0); in main()

Completed in 31 milliseconds

12