Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-tcp-bind6-error.c39 uv_tcp_t server1, server2; in TEST_IMPL() local
52 r = uv_tcp_init(uv_default_loop(), &server2); in TEST_IMPL()
54 r = uv_tcp_bind(&server2, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
59 r = uv_listen((uv_stream_t*)&server2, 128, NULL); in TEST_IMPL()
63 uv_close((uv_handle_t*)&server2, close_cb); in TEST_IMPL()
H A Dtest-pipe-bind-error.c46 uv_pipe_t server1, server2; in TEST_IMPL() local
54 r = uv_pipe_init(uv_default_loop(), &server2, 0); in TEST_IMPL()
56 r = uv_pipe_bind(&server2, TEST_PIPENAME); in TEST_IMPL()
61 r = uv_listen((uv_stream_t*)&server2, SOMAXCONN, NULL); in TEST_IMPL()
65 uv_close((uv_handle_t*)&server2, close_cb); in TEST_IMPL()
H A Dtest-tcp-bind-error.c82 uv_tcp_t server1, server2; in TEST_IMPL() local
91 r = uv_tcp_init(uv_default_loop(), &server2); in TEST_IMPL()
93 r = uv_tcp_bind(&server2, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
98 r = uv_listen((uv_stream_t*)&server2, 128, NULL); in TEST_IMPL()
102 uv_close((uv_handle_t*)&server2, close_cb); in TEST_IMPL()

Completed in 7 milliseconds