Lines Matching refs:client
34 static void TestConnectedSockets(cutils_socket_t server, cutils_socket_t client, in TestConnectedSockets() argument
37 ASSERT_NE(INVALID_SOCKET, client); in TestConnectedSockets()
44 ASSERT_EQ(3, send(client, "foo", 3, 0)); in TestConnectedSockets()
60 EXPECT_EQ(3, recv(client, buffer, sizeof(buffer), 0)); in TestConnectedSockets()
68 EXPECT_EQ(11, socket_send_buffers(client, socket_buffers, 3)); in TestConnectedSockets()
73 EXPECT_EQ(0, socket_close(client)); in TestConnectedSockets()
100 cutils_socket_t client = socket_network_client( in TEST() local
103 TestConnectedSockets(server, client, SOCK_DGRAM); in TEST()
111 cutils_socket_t client = socket_network_client( in TEST() local
116 TestConnectedSockets(handler, client, SOCK_STREAM); in TEST()
122 cutils_socket_t client = socket_network_client( in TEST() local
125 TestConnectedSockets(server, client, SOCK_DGRAM); in TEST()
133 cutils_socket_t client = socket_network_client( in TEST() local
138 TestConnectedSockets(handler, client, SOCK_STREAM); in TEST()