support multiple server tunnels with same destination and different ports

This commit is contained in:
orignal 2016-01-17 18:55:09 -05:00
parent efdea07b7b
commit cd549937c5
4 changed files with 7 additions and 2 deletions

View file

@ -123,6 +123,7 @@ namespace client
const std::string& GetAddress() const { return m_Address; }
int GetPort () const { return m_Port; };
uint16_t GetLocalPort () const { return m_PortDestination->GetLocalPort (); };
const boost::asio::ip::tcp::endpoint& GetEndpoint () const { return m_Endpoint; }
const char* GetName() { return m_Name.c_str (); }