Home
last modified time | relevance | path

Searched refs:server_socket_ (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/base/
Dtestechoserver.h27 : server_socket_(thread->socketserver()->CreateAsyncSocket(addr.family(), in TestEchoServer()
29 server_socket_->Bind(addr); in TestEchoServer()
30 server_socket_->Listen(5); in TestEchoServer()
31 server_socket_->SignalReadEvent.connect(this, &TestEchoServer::OnAccept); in TestEchoServer()
40 SocketAddress address() const { return server_socket_->GetLocalAddress(); } in address()
66 scoped_ptr<AsyncSocket> server_socket_; variable
Dproxyserver.cc23 server_socket_(int_factory->CreateAsyncSocket(int_addr.family(), in ProxyServer()
25 ASSERT(server_socket_.get() != NULL); in ProxyServer()
27 server_socket_->Bind(int_addr); in ProxyServer()
28 server_socket_->Listen(5); in ProxyServer()
29 server_socket_->SignalReadEvent.connect(this, &ProxyServer::OnAcceptEvent); in ProxyServer()
40 return server_socket_->GetLocalAddress(); in GetServerAddress()
44 ASSERT(socket != NULL && socket == server_socket_.get()); in OnAcceptEvent()
Dssladapter_unittest.cc139 server_socket_.reset(CreateSocket(ssl_mode_)); in SSLAdapterTestDummyServer()
142 server_socket_->SignalReadEvent.connect(this, in SSLAdapterTestDummyServer()
145 server_socket_->Listen(1); in SSLAdapterTestDummyServer()
149 << " server listening on " << server_socket_->GetLocalAddress(); in SSLAdapterTestDummyServer()
153 return server_socket_->GetLocalAddress(); in GetAddress()
195 rtc::AsyncSocket* socket = server_socket_.release(); in AcceptConnection()
206 DoHandshake(server_socket_->Accept(NULL)); in OnServerSocketReadEvent()
262 rtc::scoped_ptr<rtc::AsyncSocket> server_socket_; member in SSLAdapterTestDummyServer
Dproxyserver.h79 scoped_ptr<AsyncSocket> server_socket_; variable