Home
last modified time | relevance | path

Searched refs:uv_listen (Results 1 – 25 of 47) sorted by relevance

12

/libuv/test/
H A Dtest-pipe-bind-error.c59 r = uv_listen((uv_stream_t*)&server1, SOMAXCONN, NULL); in TEST_IMPL()
61 r = uv_listen((uv_stream_t*)&server2, SOMAXCONN, NULL); in TEST_IMPL()
129 r = uv_listen((uv_stream_t*)&server, SOMAXCONN, NULL); in TEST_IMPL()
150 ASSERT_EQ(uv_listen((uv_stream_t*) &server, SOMAXCONN, NULL), UV_EINVAL); in TEST_IMPL()
H A Dtest-tcp-bind-error.c96 r = uv_listen((uv_stream_t*)&server1, 128, NULL); in TEST_IMPL()
98 r = uv_listen((uv_stream_t*)&server2, 128, NULL); in TEST_IMPL()
254 r = uv_listen((uv_stream_t*)&server, 128, NULL); in TEST_IMPL()
275 r = uv_listen((uv_stream_t*)&server, 128, NULL); in TEST_IMPL()
313 ASSERT_EQ(uv_listen((uv_stream_t*) &tcp, 5, NULL), UV_EINVAL); in TEST_IMPL()
H A Dtest-multiple-listen.c59 r = uv_listen((uv_stream_t*)&server, 128, connection_cb); in start_server()
62 r = uv_listen((uv_stream_t*)&server, 128, connection_cb); in start_server()
H A Dtest-ipc.c187 r = uv_listen((uv_stream_t*)&tcp_server, BACKLOG, on_connection); in on_read()
256 r = uv_listen((uv_stream_t*)&tcp_server, BACKLOG, on_connection); in on_read_listen_after_bound_twice()
267 r = uv_listen((uv_stream_t*)&tcp_server2, BACKLOG, on_connection); in on_read_listen_after_bound_twice()
488 r = uv_listen((uv_stream_t*)&server, SOMAXCONN, NULL); in TEST_IMPL()
513 r = uv_listen((uv_stream_t*)&server, SOMAXCONN, NULL); in TEST_IMPL()
703 r = uv_listen((uv_stream_t*)&tcp_server, BACKLOG, ipc_on_connection); in ipc_helper()
713 r = uv_listen((uv_stream_t*)&tcp_server, BACKLOG, ipc_on_connection); in ipc_helper()
755 r = uv_listen((uv_stream_t*)&tcp_server, BACKLOG, ipc_on_connection_tcp_conn); in ipc_helper_tcp_connection()
H A Dtest-tcp-bind6-error.c57 r = uv_listen((uv_stream_t*)&server1, 128, NULL); in TEST_IMPL()
59 r = uv_listen((uv_stream_t*)&server2, 128, NULL); in TEST_IMPL()
H A Dtest-pipe-connect-multiple.c88 r = uv_listen((uv_stream_t*)&server_handle, 128, connection_cb); in TEST_IMPL()
154 r = uv_listen((uv_stream_t*)&server_handle, 128, connection_cb2); in TEST_IMPL()
H A Dtest-pipe-pending-instances.c49 r = uv_listen((uv_stream_t*)&pipe_handle, 128, connection_cb); in TEST_IMPL()
H A Decho-server.c274 r = uv_listen((uv_stream_t*)&tcpServer, SOMAXCONN, on_connection); in tcp4_echo_start()
309 r = uv_listen((uv_stream_t*)&tcpServer, SOMAXCONN, on_connection); in tcp6_echo_start()
376 r = uv_listen((uv_stream_t*)&pipeServer, SOMAXCONN, on_connection); in pipe_echo_start()
H A Dtest-pipe-getsockname.c180 r = uv_listen((uv_stream_t*) &pipe_server, 0, pipe_server_connection_cb); in TEST_IMPL()
238 ASSERT_OK(uv_listen((uv_stream_t*) &pipe_server, in TEST_IMPL()
285 ASSERT_OK(uv_listen((uv_stream_t*) &pipe_server, 0, in TEST_IMPL()
H A Dtest-pipe-server-close.c79 r = uv_listen((uv_stream_t*) &pipe_server, 0, pipe_server_connection_cb); in TEST_IMPL()
H A Dtest-ref.c237 uv_listen((uv_stream_t*)&h, 128, (uv_connection_cb)fail_cb); in TEST_IMPL()
249 uv_listen((uv_stream_t*)&h, 128, (uv_connection_cb)fail_cb); in TEST_IMPL()
362 uv_listen((uv_stream_t*)&h, 128, (uv_connection_cb)fail_cb); in TEST_IMPL()
H A Dtest-emfile.c66 ASSERT_OK(uv_listen((uv_stream_t*) &server_handle, 8, connection_cb)); in TEST_IMPL()
H A Dtest-tcp-try-write-error.c81 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
H A Dtest-tcp-try-write.c107 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
H A Dtest-tcp-alloc-cb-fail.c97 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
H A Dtest-tcp-close.c91 r = uv_listen((uv_stream_t*)handle, 128, connection_cb); in start_server()
H A Dtest-tcp-unexpected-read.c102 ASSERT_OK(uv_listen((uv_stream_t*) &server_handle, 1, connection_cb)); in TEST_IMPL()
H A Dtest-tcp-write-queue-order.c106 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
H A Dblackhole-server.c114 r = uv_listen((uv_stream_t*)&tcp_server, 128, connection_cb); in HELPER_IMPL()
H A Dtest-tcp-oob.c125 ASSERT_OK(uv_listen((uv_stream_t*) &server_handle, 1, connection_cb)); in TEST_IMPL()
H A Dtest-tcp-read-stop-start.c116 ASSERT_OK(uv_listen((uv_stream_t*)&server, 10, on_connection)); in TEST_IMPL()
H A Dtest-tcp-write-in-a-row.c111 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
/libuv/docs/code/cgi/
H A Dmain.c75 int r = uv_listen((uv_stream_t*) &server, 128, on_new_connection); in main()
/libuv/docs/code/pipe-echo-server/
H A Dmain.c89 if ((r = uv_listen((uv_stream_t*) &server, 128, on_new_connection))) { in main()
/libuv/docs/code/tcp-echo-server/
H A Dmain.c81 int r = uv_listen((uv_stream_t*) &server, DEFAULT_BACKLOG, on_new_connection); in main()

Completed in 47 milliseconds

12