Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-tcp-close-accept.c34 static uv_tcp_t tcp_incoming[ARRAY_SIZE(tcp_outgoing)]; variable
66 uv_close((uv_handle_t*) &tcp_incoming[pending_incoming], close_cb); in connect_cb()
91 pending_incoming = (uv_tcp_t*) stream - &tcp_incoming[0]; in read_cb()
102 uv_close((uv_handle_t*) &tcp_incoming[i], close_cb); in read_cb()
124 if (got_connections == ARRAY_SIZE(tcp_incoming)) in connection_cb()
128 incoming = &tcp_incoming[got_connections++]; in connection_cb()
132 if (got_connections != ARRAY_SIZE(tcp_incoming)) in connection_cb()
136 for (i = 0; i < ARRAY_SIZE(tcp_incoming); i++) { in connection_cb()
137 incoming = &tcp_incoming[i]; in connection_cb()

Completed in 5 milliseconds