Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-tcp-close-accept.c33 static uv_tcp_t tcp_outgoing[2]; variable
34 static uv_tcp_t tcp_incoming[ARRAY_SIZE(tcp_outgoing)];
35 static uv_connect_t connect_reqs[ARRAY_SIZE(tcp_outgoing)];
38 static uv_write_t write_reqs[ARRAY_SIZE(tcp_outgoing)];
77 outgoing = (uv_stream_t*) &tcp_outgoing[i]; in connect_cb()
170 ARRAY_SIZE(tcp_outgoing), in TEST_IMPL()
173 for (i = 0; i < ARRAY_SIZE(tcp_outgoing); i++) { in TEST_IMPL()
174 client = tcp_outgoing + i; in TEST_IMPL()
185 ASSERT_EQ(ARRAY_SIZE(tcp_outgoing), got_connections); in TEST_IMPL()
186 ASSERT_EQ((ARRAY_SIZE(tcp_outgoing) + 2), close_cb_called); in TEST_IMPL()
[all …]

Completed in 3 milliseconds