SSU2 through a socks5 proxy

This commit is contained in:
orignal 2022-10-26 16:05:40 -04:00
parent 2b6d9eaa8b
commit 2a703e0844
4 changed files with 66 additions and 4 deletions

View file

@ -57,6 +57,7 @@ namespace transport
void Stop ();
boost::asio::io_service& GetService () { return GetIOService (); };
void SetLocalAddress (const boost::asio::ip::address& localAddress);
bool SetProxy (const std::string& address, uint16_t port);
bool IsSupported (const boost::asio::ip::address& addr) const;
uint16_t GetPort (bool v4) const;
bool IsSyncClockFromPeers () const { return m_IsSyncClockFromPeers; };