Searched refs:external_sockets_ (Results 1 – 2 of 2) sorted by relevance
107 for (size_t i = 0; i < external_sockets_.size(); ++i) in ~RelayServer()108 delete external_sockets_[i]; in ~RelayServer()132 ASSERT(external_sockets_.end() == in AddExternalSocket()133 std::find(external_sockets_.begin(), external_sockets_.end(), socket)); in AddExternalSocket()134 external_sockets_.push_back(socket); in AddExternalSocket()140 std::find(external_sockets_.begin(), external_sockets_.end(), socket); in RemoveExternalSocket()141 ASSERT(iter != external_sockets_.end()); in RemoveExternalSocket()142 external_sockets_.erase(iter); in RemoveExternalSocket()445 size_t index = rand() % external_sockets_.size(); in HandleStunAllocate()448 external_sockets_[index]->GetLocalAddress(&allocated); in HandleStunAllocate()[all …]
98 SocketList external_sockets_; variable