Searched refs:socket2 (Results 1 – 6 of 6) sorted by relevance
106 int socket2; member198 int socket2 = info->socket2; in ForwarderThread() local199 int nfds = socket1 > socket2 ? socket1 + 1 : socket2 + 1; in ForwarderThread()210 FD_SET(socket2, &read_fds); in ForwarderThread()214 FD_SET(socket2, &write_fds); in ForwarderThread()231 if (FD_ISSET(socket2, &read_fds)) { in ForwarderThread()233 int bytes = buffer2.Read(socket2); in ForwarderThread()242 if (FD_ISSET(socket2, &write_fds)) { in ForwarderThread()243 if (buffer1.Write(socket2) <= 0) in ForwarderThread()249 CloseSocket(socket2); in ForwarderThread()[all …]
35 scoped_ptr<Socket> socket2) { in CreateAndStartNewForwarder() argument42 base::Passed(&socket2))); in CreateAndStartNewForwarder()51 scoped_ptr<Socket> socket2) { in CreateNewForwarderOnInternalThread() argument53 forwarders_.push_back(new Forwarder(socket1.Pass(), socket2.Pass())); in CreateNewForwarderOnInternalThread()
28 scoped_ptr<Socket> socket2);32 scoped_ptr<Socket> socket2);
219 scoped_ptr<Socket> socket2) in Forwarder() argument221 socket2_(socket2.Pass()), in Forwarder()
21 Forwarder(scoped_ptr<Socket> socket1, scoped_ptr<Socket> socket2);
162 AsyncSocket* socket2 = in BasicTest() local164 TestClient* client2 = new TestClient(new AsyncUDPSocket(socket2)); in BasicTest()748 AsyncSocket* socket2 = ss_->CreateAsyncSocket(SOCK_DGRAM); in CrossFamilyDatagramTest() local749 socket2->Bind(client_addr); in CrossFamilyDatagramTest()750 TestClient* client2 = new TestClient(new AsyncUDPSocket(socket2)); in CrossFamilyDatagramTest()