Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-tcp-close-after-read-timeout.c26 static uv_tcp_t connection; variable
105 ASSERT_OK(uv_accept(server, (uv_stream_t*) &connection)); in on_connection()
107 r = uv_read_start((uv_stream_t*) &connection, in on_connection()
116 handle == (uv_handle_t*) &connection || in on_close()
166 r = uv_tcp_init(loop, &connection); in TEST_IMPL()
H A Dtest-tcp-read-stop-start.c26 static uv_tcp_t connection; variable
91 ASSERT_OK(uv_tcp_init(server->loop, &connection)); in on_connection()
93 ASSERT_OK(uv_accept(server, (uv_stream_t* )&connection)); in on_connection()
95 ASSERT_OK(uv_read_start((uv_stream_t*)&connection, on_alloc, on_read1)); in on_connection()
/libuv/docs/src/
H A Dstream.rst63 Callback called after a connection started by :c:func:`uv_connect` is done.
73 Callback called when a stream server has received an incoming connection.
74 The user can accept the connection by calling :c:func:`uv_accept`.
87 Pointer to the stream where this connection request is running.
118 incoming connection is received the :c:type:`uv_connection_cb` callback is
125 to accept the connection. Before calling this function the client handle must
197 handle on Windows, which is a server or a connection (listening or
H A Derrors.rst104 connection already in progress
124 software caused connection abort
128 connection refused
132 connection reset by peer
300 connection timed out
H A Dtcp.rst86 from the previous one, will still happen. If the connection is still lost
149 Establish an IPv4 or IPv6 TCP connection. Provide an initialized TCP handle
157 The callback is made when the connection has been established or when a
158 connection error happened.
167 Resets a TCP connection by sending a RST packet. This is accomplished by
H A Ddesign.rst33 - A TCP server handle that gets its connection callback called every time there is a new connection.
/libuv/docs/src/guide/
H A Dnetworking.rst21 TCP is a connection oriented, stream protocol and is therefore based on the
32 connection is established by a client.
33 4. Use ``uv_accept`` to accept the connection.
58 When a connection is initiated by clients, the callback is required to set up
72 interested in accepting the connection.
91 where ``on_connect`` will be called after the connection is established. The
H A Dprocesses.rst232 that every client is sent ten ticks after which that connection is closed.
241 Here we simply accept the TCP connection and pass on the socket (*stream*) to
/libuv/
H A DMakefile.am167 test/test-connection-fail.c \
285 test/test-tcp-write-to-half-open-connection.c \
H A DCMakeLists.txt541 test/test-connection-fail.c
664 test/test-tcp-write-to-half-open-connection.c
H A DLICENSE-docs389 without limitation, in connection with any unauthorized modifications
H A DChangeLog2816 * test: increase connection timeout to 1 second (jBarz)
3613 * test: close server before initiating new connection (John Barboza)
4887 * test: don't close connection on write error (Trevor Norris)

Completed in 28 milliseconds