single receive thread for both ipv4 and ipv6

This commit is contained in:
orignal 2022-04-05 16:27:52 -04:00
parent 5891b1ceb2
commit 3052dbd1e8
2 changed files with 12 additions and 12 deletions

View file

@ -262,7 +262,7 @@ namespace transport
private:
ReceiveService m_ReceiveServiceV4, m_ReceiveServiceV6;
ReceiveService m_ReceiveService;
boost::asio::ip::udp::socket m_SocketV4, m_SocketV6;
std::unordered_map<uint64_t, std::shared_ptr<SSU2Session> > m_Sessions;
std::map<boost::asio::ip::udp::endpoint, std::shared_ptr<SSU2Session> > m_PendingOutgoingSessions;