don't abort when ntcp fails to bind

This commit is contained in:
Jeff Becker 2016-06-13 11:34:44 -04:00
parent 9eaa51442f
commit fa68e392c8
No known key found for this signature in database
GPG key ID: AB950234D6EA286B
8 changed files with 129 additions and 69 deletions

View file

@ -75,6 +75,9 @@ namespace transport
void Start ();
void Stop ();
bool IsBoundNTCP() const { return m_NTCPServer != nullptr; }
bool IsBoundSSU() const { return m_SSUServer != nullptr; }
boost::asio::io_service& GetService () { return m_Service; };
std::shared_ptr<i2p::crypto::DHKeys> GetNextDHKeysPair ();