Home
last modified time | relevance | path

Searched refs:backlog (Results 1 – 12 of 12) sorted by relevance

/libuv/src/unix/
H A Dpipe.c151 int uv__pipe_listen(uv_pipe_t* handle, int backlog, uv_connection_cb cb) { in uv__pipe_listen() argument
161 if (backlog == 0) in uv__pipe_listen()
162 backlog = 1; in uv__pipe_listen()
163 else if (backlog < 0) in uv__pipe_listen()
164 backlog = SOMAXCONN; in uv__pipe_listen()
167 if (listen(uv__stream_fd(handle), backlog)) in uv__pipe_listen()
H A Dinternal.h295 int uv__tcp_listen(uv_tcp_t* tcp, int backlog, uv_connection_cb cb);
303 int uv__pipe_listen(uv_pipe_t* handle, int backlog, uv_connection_cb cb);
H A Dtcp.c421 int uv__tcp_listen(uv_tcp_t* tcp, int backlog, uv_connection_cb cb) { in uv__tcp_listen() argument
440 if (listen(tcp->io_watcher.fd, backlog)) in uv__tcp_listen()
H A Dstream.c601 int uv_listen(uv_stream_t* stream, int backlog, uv_connection_cb cb) { in uv_listen() argument
608 err = uv__tcp_listen((uv_tcp_t*)stream, backlog, cb); in uv_listen()
612 err = uv__pipe_listen((uv_pipe_t*)stream, backlog, cb); in uv_listen()
/libuv/src/win/
H A Dstream.c30 int uv_listen(uv_stream_t* stream, int backlog, uv_connection_cb cb) { in uv_listen() argument
38 err = uv__tcp_listen((uv_tcp_t*)stream, backlog, cb); in uv_listen()
41 err = uv__pipe_listen((uv_pipe_t*)stream, backlog, cb); in uv_listen()
H A Dinternal.h75 int uv__tcp_listen(uv_tcp_t* handle, int backlog, uv_connection_cb cb);
124 int uv__pipe_listen(uv_pipe_t* handle, int backlog, uv_connection_cb cb);
H A Dtcp.c549 int uv__tcp_listen(uv_tcp_t* handle, int backlog, uv_connection_cb cb) { in uv__tcp_listen() argument
554 assert(backlog > 0); in uv__tcp_listen()
587 listen(handle->socket, backlog) == SOCKET_ERROR) { in uv__tcp_listen()
H A Dpipe.c1203 int uv__pipe_listen(uv_pipe_t* handle, int backlog, uv_connection_cb cb) { in uv__pipe_listen() argument
/libuv/docs/src/
H A Dstream.rst114 .. c:function:: int uv_listen(uv_stream_t* stream, int backlog, uv_connection_cb cb)
116 Start listening for incoming connections. `backlog` indicates the number of
/libuv/docs/src/guide/
H A Dnetworking.rst56 arguments is the backlog queue -- the maximum length of queued connections.
/libuv/include/
H A Duv.h543 UV_EXTERN int uv_listen(uv_stream_t* stream, int backlog, uv_connection_cb cb);
/libuv/
H A DChangeLog1690 * ibmi: ensure that pipe backlog is not zero (Xu Meng)

Completed in 45 milliseconds