Searched refs:server_socket (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/webrtc/examples/stunserver/ |
D | stunserver_main.cc | 36 rtc::AsyncUDPSocket* server_socket = in main() local 38 if (!server_socket) { in main() 43 StunServer* server = new StunServer(server_socket); in main()
|
/external/webrtc/webrtc/p2p/base/ |
D | relayport_unittest.cc | 105 rtc::AsyncSocket* server_socket = CreateServerSocket(kRelayTcpAddr); in TestConnectUdp() local 108 relay_server_->AddInternalServerSocket(server_socket, cricket::PROTO_TCP); in TestConnectUdp() 142 rtc::AsyncSocket* server_socket = CreateServerSocket(kRelayTcpAddr); in TestConnectTcp() local 143 relay_server_->AddInternalServerSocket(server_socket, cricket::PROTO_TCP); in TestConnectTcp()
|
D | relayserver.cc | 550 void RelayServer::AcceptConnection(rtc::AsyncSocket* server_socket) { in AcceptConnection() argument 554 server_socket->Accept(&accept_addr); in AcceptConnection() 558 ASSERT(server_sockets_[server_socket] == cricket::PROTO_TCP || in AcceptConnection() 559 server_sockets_[server_socket] == cricket::PROTO_SSLTCP); in AcceptConnection() 560 if (server_sockets_[server_socket] == cricket::PROTO_SSLTCP) { in AcceptConnection()
|
D | turnserver.h | 71 rtc::AsyncPacketSocket* server_socket, 211 void AcceptConnection(rtc::AsyncSocket* server_socket);
|
D | relayserver.h | 125 void AcceptConnection(rtc::AsyncSocket* server_socket);
|
D | turnserver.cc | 172 void TurnServer::AcceptConnection(rtc::AsyncSocket* server_socket) { in AcceptConnection() argument 175 rtc::AsyncSocket* accepted_socket = server_socket->Accept(&accept_addr); in AcceptConnection() 177 ProtocolType proto = server_listen_sockets_[server_socket]; in AcceptConnection()
|
/external/ImageMagick/MagickCore/ |
D | distribute-cache.c | 915 server_socket; in DistributePixelCacheServer() local 940 server_socket=(SOCKET_TYPE) 0; in DistributePixelCacheServer() 946 server_socket=socket(p->ai_family,p->ai_socktype,p->ai_protocol); in DistributePixelCacheServer() 947 if (server_socket == -1) in DistributePixelCacheServer() 950 status=setsockopt(server_socket,SOL_SOCKET,SO_REUSEADDR, in DistributePixelCacheServer() 954 CLOSE_SOCKET(server_socket); in DistributePixelCacheServer() 957 status=bind(server_socket,p->ai_addr,(socklen_t) p->ai_addrlen); in DistributePixelCacheServer() 960 CLOSE_SOCKET(server_socket); in DistributePixelCacheServer() 968 status=listen(server_socket,DPCPendingConnections); in DistributePixelCacheServer() 983 client_socket=accept(server_socket,(struct sockaddr *) &address,&length); in DistributePixelCacheServer()
|
/external/compiler-rt/lib/msan/tests/ |
D | msan_test.cc | 996 int server_socket = socket(AF_INET, SOCK_DGRAM, 0); in TEST() local 997 ASSERT_LT(0, server_socket); in TEST() 1004 int res = bind(server_socket, (struct sockaddr *)&sai, sizeof(sai)); in TEST() 1008 res = getsockname(server_socket, (struct sockaddr *)&sai, &sz); in TEST() 1054 res = recvmsg(server_socket, &recv_msg, 0); in TEST() 1061 close(server_socket); in TEST()
|