Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-tcp-close-reset.c37 static uv_tcp_t tcp_accepted; variable
133 ASSERT_PTR_EQ(handle, (uv_handle_t*) &tcp_accepted); in close_cb()
142 ASSERT_PTR_EQ(req->handle, (uv_stream_t*) &tcp_accepted); in shutdown_cb()
149 ASSERT_PTR_EQ((uv_tcp_t*)stream, &tcp_accepted); in read_cb()
155 do_close(&tcp_accepted); in read_cb()
163 ASSERT_OK(uv_tcp_init(loop, &tcp_accepted)); in connection_cb()
164 ASSERT_OK(uv_accept(server, (uv_stream_t*) &tcp_accepted)); in connection_cb()
166 uv_read_start((uv_stream_t*) &tcp_accepted, alloc_cb, read_cb); in connection_cb()

Completed in 8 milliseconds