Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dvirtualsocket_unittest.cc659 AsyncSocket* recv_socket = in BandwidthTest() local
662 ASSERT_EQ(0, recv_socket->Bind(initial_addr)); in BandwidthTest()
664 EXPECT_EQ(recv_socket->GetLocalAddress().family(), initial_addr.family()); in BandwidthTest()
665 ASSERT_EQ(0, send_socket->Connect(recv_socket->GetLocalAddress())); in BandwidthTest()
672 Receiver receiver(pthMain, recv_socket, bandwidth); in BandwidthTest()
701 AsyncSocket* recv_socket = in DelayTest() local
704 ASSERT_EQ(0, recv_socket->Bind(initial_addr)); in DelayTest()
706 EXPECT_EQ(recv_socket->GetLocalAddress().family(), initial_addr.family()); in DelayTest()
707 ASSERT_EQ(0, send_socket->Connect(recv_socket->GetLocalAddress())); in DelayTest()
713 Receiver receiver(pthMain, recv_socket, 0); in DelayTest()
/external/netperf/src/
Dnettest_sdp.c919 SOCKET recv_socket; in send_sdp_maerts() local
996 recv_socket = create_data_socket(local_res); in send_sdp_maerts()
998 if (recv_socket == INVALID_SOCKET){ in send_sdp_maerts()
1144 if (connect(recv_socket, in send_sdp_maerts()
1222 while ((!times_up) && (len=recv(recv_socket, in send_sdp_maerts()
1291 get_sdp_info(recv_socket,&sdp_mss); in send_sdp_maerts()
1294 if (shutdown(recv_socket,SHUT_WR) == SOCKET_ERROR) { in send_sdp_maerts()
1313 close(recv_socket); in send_sdp_maerts()
Dnettest_bsd.c2474 SOCKET recv_socket; in send_tcp_maerts() local
2555 recv_socket = create_data_socket(local_res); in send_tcp_maerts()
2557 if (recv_socket == INVALID_SOCKET){ in send_tcp_maerts()
2703 if (connect(recv_socket, in send_tcp_maerts()
2717 win_kludge_socket = recv_socket; in send_tcp_maerts()
2791 while ((!times_up) && (len=recv(recv_socket, in send_tcp_maerts()
2860 get_tcp_info(recv_socket,&tcp_mss); in send_tcp_maerts()
2863 if (shutdown(recv_socket,SHUT_WR) == SOCKET_ERROR) { in send_tcp_maerts()
2888 close(recv_socket); in send_tcp_maerts()