Home
last modified time | relevance | path

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

/external/chromium/third_party/libjingle/source/talk/p2p/base/
Dstunserver_main.cc54 talk_base::AsyncUDPSocket* server_socket = in main() local
56 if (!server_socket) { in main()
61 StunServer* server = new StunServer(server_socket); in main()
Drelayserver.cc571 void RelayServer::AcceptConnection(talk_base::AsyncSocket* server_socket) { in AcceptConnection() argument
575 server_socket->Accept(&accept_addr); in AcceptConnection()
579 ASSERT(server_sockets_[server_socket] == cricket::PROTO_TCP || in AcceptConnection()
580 server_sockets_[server_socket] == cricket::PROTO_SSLTCP); in AcceptConnection()
581 if (server_sockets_[server_socket] == cricket::PROTO_SSLTCP) { in AcceptConnection()
Drelayserver.h139 void AcceptConnection(talk_base::AsyncSocket* server_socket);
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dstunserver_main.cc53 talk_base::AsyncUDPSocket* server_socket = in main() local
55 if (!server_socket) { in main()
60 StunServer* server = new StunServer(server_socket); in main()
Drelayport_unittest.cc126 talk_base::AsyncSocket* server_socket = CreateServerSocket(kRelayTcpAddr); in TestConnectUdp() local
129 relay_server_->AddInternalServerSocket(server_socket, cricket::PROTO_TCP); in TestConnectUdp()
163 talk_base::AsyncSocket* server_socket = CreateServerSocket(kRelayTcpAddr); in TestConnectTcp() local
164 relay_server_->AddInternalServerSocket(server_socket, cricket::PROTO_TCP); in TestConnectTcp()
Drelayserver.cc565 void RelayServer::AcceptConnection(talk_base::AsyncSocket* server_socket) { in AcceptConnection() argument
569 server_socket->Accept(&accept_addr); in AcceptConnection()
573 ASSERT(server_sockets_[server_socket] == cricket::PROTO_TCP || in AcceptConnection()
574 server_sockets_[server_socket] == cricket::PROTO_SSLTCP); in AcceptConnection()
575 if (server_sockets_[server_socket] == cricket::PROTO_SSLTCP) { in AcceptConnection()
Dturnserver.h132 void AcceptConnection(talk_base::AsyncSocket* server_socket);
Dturnserver.cc82 talk_base::AsyncPacketSocket* server_socket,
262 void TurnServer::AcceptConnection(talk_base::AsyncSocket* server_socket) { in AcceptConnection() argument
265 talk_base::AsyncSocket* accepted_socket = server_socket->Accept(&accept_addr); in AcceptConnection()
267 ProtocolType proto = server_listen_sockets_[server_socket]; in AcceptConnection()
Drelayserver.h142 void AcceptConnection(talk_base::AsyncSocket* server_socket);
/external/chromium_org/ppapi/tests/
Dtest_tcp_server_socket_private.cc145 TCPServerSocketPrivate server_socket(instance_); in TestListen() local
147 ASSERT_SUBTEST_SUCCESS(SyncListen(&server_socket, &address, kBacklog)); in TestListen()
160 int32_t accept_rv = server_socket.Accept(&resource, in TestListen()
195 server_socket.StopListening(); in TestListen()
203 TCPServerSocketPrivate server_socket(instance_); in TestBacklog() local
205 ASSERT_SUBTEST_SUCCESS(SyncListen(&server_socket, &address, 2 * kBacklog)); in TestBacklog()
224 server_socket.Accept(&resources[i], callback.GetCallback())); in TestBacklog()
260 server_socket.StopListening(); in TestBacklog()
Dtest_udp_socket_private.cc168 pp::UDPSocketPrivate server_socket(instance_), client_socket(instance_); in TestConnect() local
171 ASSERT_SUBTEST_SUCCESS(LookupPortAndBindUDPSocket(&server_socket, in TestConnect()
176 ASSERT_SUBTEST_SUCCESS(PassMessage(&server_socket, &client_socket, in TestConnect()
180 ASSERT_TRUE(server_socket.GetRecvFromAddress(&recv_from_address)); in TestConnect()
184 server_socket.Close(); in TestConnect()
187 if (server_socket.GetBoundAddress(&server_address)) in TestConnect()
Dtest_tcp_socket.cc192 pp::TCPSocket server_socket(instance_); in TestListen() local
193 ASSERT_SUBTEST_SUCCESS(StartListen(&server_socket, kBacklog)); in TestListen()
206 int32_t accept_rv = server_socket.Accept(accept_callback.GetCallback()); in TestListen()
214 server_socket.GetLocalAddress(), callback.GetCallback())); in TestListen()
246 server_socket.Close(); in TestListen()
254 pp::TCPSocket server_socket(instance_); in TestBacklog() local
255 ASSERT_SUBTEST_SUCCESS(StartListen(&server_socket, 2 * kBacklog)); in TestBacklog()
260 pp::NetAddress address = server_socket.GetLocalAddress(); in TestBacklog()
273 callback.WaitForResult(server_socket.Accept(callback.GetCallback())); in TestBacklog()
Dtest_udp_socket.cc189 pp::UDPSocket server_socket(instance_), client_socket(instance_); in TestReadWrite() local
192 ASSERT_SUBTEST_SUCCESS(LookupPortAndBindUDPSocket(&server_socket, in TestReadWrite()
198 ASSERT_SUBTEST_SUCCESS(PassMessage(&server_socket, &client_socket, in TestReadWrite()
203 server_socket.Close(); in TestReadWrite()
206 if (server_socket.GetBoundAddress().pp_resource() != 0) in TestReadWrite()
/external/chromium_org/ipc/
Dunix_domain_socket_util.cc183 bool ServerAcceptConnection(int server_listen_fd, int* server_socket) { in ServerAcceptConnection() argument
184 DCHECK(server_socket); in ServerAcceptConnection()
185 *server_socket = -1; in ServerAcceptConnection()
198 *server_socket = *scoped_fd.release(); in ServerAcceptConnection()
Dunix_domain_socket_util.h54 int* server_socket);
/external/chromium_org/tools/android/forwarder2/
Ddaemon.cc55 Socket* server_socket, in RunServerAcceptLoop() argument
60 if (!server_socket->Accept(client_socket.get())) { in RunServerAcceptLoop()
61 if (server_socket->DidReceiveEvent()) in RunServerAcceptLoop()
/external/chromium_org/remoting/protocol/
Dssl_hmac_channel_authenticator.cc79 scoped_ptr<net::SSLServerSocket> server_socket = in SecureAndAuthenticate() local
84 net::SSLServerSocket* raw_server_socket = server_socket.get(); in SecureAndAuthenticate()
85 socket_ = server_socket.Pass(); in SecureAndAuthenticate()
/external/chromium_org/net/socket/
Dssl_server_socket_unittest.cc310 scoped_ptr<StreamSocket> server_socket( in Initialize() local
352 server_socket.Pass(), in Initialize()
/external/chromium/net/
Dnet.gyp624 'socket/server_socket.h',
/external/chromium_org/tools/gn/secondary/net/
DBUILD.gn821 "socket/server_socket.h",
/external/chromium_org/net/
Dnet.gyp934 'socket/server_socket.h',