Home
last modified time | relevance | path

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

12

/third_party/libuv/test/
Dtest-pipe-bind-error.c58 r = uv_listen((uv_stream_t*)&server1, SOMAXCONN, NULL); in TEST_IMPL()
60 r = uv_listen((uv_stream_t*)&server2, SOMAXCONN, NULL); in TEST_IMPL()
128 r = uv_listen((uv_stream_t*)&server, SOMAXCONN, NULL); in TEST_IMPL()
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()
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()
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()
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()
Decho-server.c272 r = uv_listen((uv_stream_t*)&tcpServer, SOMAXCONN, on_connection); in tcp4_echo_start()
307 r = uv_listen((uv_stream_t*)&tcpServer, SOMAXCONN, on_connection); in tcp6_echo_start()
374 r = uv_listen((uv_stream_t*)&pipeServer, SOMAXCONN, on_connection); in pipe_echo_start()
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()
Dtest-pipe-pending-instances.c49 r = uv_listen((uv_stream_t*)&pipe_handle, 128, connection_cb); in TEST_IMPL()
Dtest-pipe-server-close.c79 r = uv_listen((uv_stream_t*) &pipe_server, 0, pipe_server_connection_cb); in TEST_IMPL()
Dtest-emfile.c66 ASSERT(0 == uv_listen((uv_stream_t*) &server_handle, 8, connection_cb)); in TEST_IMPL()
Dtest-pipe-connect-multiple.c88 r = uv_listen((uv_stream_t*)&server_handle, 128, connection_cb); in TEST_IMPL()
Dtest-tcp-try-write-error.c81 ASSERT(0 == uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
Dbenchmark-pump.c390 r = uv_listen((uv_stream_t*)&tcpServer, MAX_WRITE_HANDLES, connection_cb); in HELPER_IMPL()
412 r = uv_listen((uv_stream_t*)&pipeServer, MAX_WRITE_HANDLES, connection_cb); in HELPER_IMPL()
Dtest-tcp-alloc-cb-fail.c97 ASSERT(0 == uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
Dtest-tcp-try-write.c107 ASSERT(0 == uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
Dtest-tcp-close.c91 r = uv_listen((uv_stream_t*)handle, 128, connection_cb); in start_server()
Dtest-tcp-unexpected-read.c102 ASSERT(0 == uv_listen((uv_stream_t*) &server_handle, 1, connection_cb)); in TEST_IMPL()
Dblackhole-server.c114 r = uv_listen((uv_stream_t*)&tcp_server, 128, connection_cb); in HELPER_IMPL()
Dtest-tcp-write-queue-order.c106 ASSERT(0 == uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
Dtest-tcp-oob.c125 ASSERT(0 == uv_listen((uv_stream_t*) &server_handle, 1, connection_cb)); in TEST_IMPL()
Dtest-tcp-read-stop-start.c116 ASSERT(0 == uv_listen((uv_stream_t*)&server, 10, on_connection)); in TEST_IMPL()
/third_party/libuv/docs/src/guide/
Dnetworking.rst31 3. Call ``uv_listen`` on the handle to have a callback invoked whenever a new
55 ``uv_listen`` is where we return to libuv's callback style. The second
71 required. This can be done even in the ``uv_listen`` callback if you are not
79 callback of ``uv_listen`` is used by ``uv_tcp_connect``. Try::
/third_party/libuv/docs/code/cgi/
Dmain.c75 int r = uv_listen((uv_stream_t*) &server, 128, on_new_connection); in main()
/third_party/libuv/docs/code/tcp-echo-server/
Dmain.c81 int r = uv_listen((uv_stream_t*) &server, DEFAULT_BACKLOG, on_new_connection); in main()
/third_party/libuv/docs/code/pipe-echo-server/
Dmain.c89 if ((r = uv_listen((uv_stream_t*) &server, 128, on_new_connection))) { in main()

12