/libuv/test/ |
H A D | test-tcp-bind-error.c | 58 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 D | test-tcp-bind6-error.c | 49 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 D | test-tcp-create-socket-early.c | 69 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 D | test-ipc.c | 482 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 D | test-socket-buffer-size.c | 62 ASSERT_OK(uv_tcp_bind(&tcp, (struct sockaddr*) &addr, 0)); in TEST_IMPL()
|
H A D | test-tcp-reuseport.c | 46 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 D | test-multiple-listen.c | 56 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr, 0); in start_server()
|
H A D | test-emfile.c | 65 ASSERT_OK(uv_tcp_bind(&server_handle, (const struct sockaddr*) &addr, 0)); in TEST_IMPL()
|
H A D | test-connection-fail.c | 103 ASSERT_OK(uv_tcp_bind(&tcp, (const struct sockaddr*) &client_addr, 0)); in connection_fail()
|
H A D | test-tcp-try-write-error.c | 80 ASSERT_OK(uv_tcp_bind(&server, (struct sockaddr*) &addr, 0)); in start_server()
|
H A D | test-tcp-try-write.c | 106 ASSERT_OK(uv_tcp_bind(&server, (struct sockaddr*) &addr, 0)); in start_server()
|
H A D | test-tcp-alloc-cb-fail.c | 96 ASSERT_OK(uv_tcp_bind(&server, (struct sockaddr*) &addr, 0)); in start_server()
|
H A D | test-tcp-close.c | 88 r = uv_tcp_bind(handle, (const struct sockaddr*) &addr, 0); in start_server()
|
H A D | test-tcp-unexpected-read.c | 101 ASSERT_OK(uv_tcp_bind(&server_handle, (const struct sockaddr*) &addr, 0)); in TEST_IMPL()
|
H A D | test-tcp-write-queue-order.c | 105 ASSERT_OK(uv_tcp_bind(&server, (struct sockaddr*) &addr, 0)); in start_server()
|
H A D | blackhole-server.c | 111 r = uv_tcp_bind(&tcp_server, (const struct sockaddr*) &addr, 0); in HELPER_IMPL()
|
H A D | echo-server.c | 267 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 D | test-tcp-oob.c | 124 ASSERT_OK(uv_tcp_bind(&server_handle, (const struct sockaddr*) &addr, 0)); in TEST_IMPL()
|
H A D | test-tcp-read-stop-start.c | 114 ASSERT_OK(uv_tcp_bind(&server, (struct sockaddr*) & addr, 0)); in TEST_IMPL()
|
H A D | test-osx-select.c | 105 r = uv_tcp_bind(&tcps[i], (const struct sockaddr *) &addr, 0); in TEST_IMPL()
|
H A D | test-tcp-write-in-a-row.c | 110 ASSERT_OK(uv_tcp_bind(&server, (struct sockaddr*) &addr, 0)); in start_server()
|
/libuv/docs/src/ |
H A D | migration_010_100.rst | 112 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 D | tcp.rst | 21 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 D | main.c | 74 uv_tcp_bind(&server, (const struct sockaddr *)&bind_addr, 0); in main()
|
/libuv/docs/code/tcp-echo-server/ |
H A D | main.c | 80 uv_tcp_bind(&server, (const struct sockaddr*)&addr, 0); in main()
|