support ipv6 for outgoing NTCP connections

This commit is contained in:
orignal 2014-10-26 21:32:06 -04:00
parent 1408422da9
commit 7fb7341502
6 changed files with 55 additions and 6 deletions

View file

@ -32,7 +32,9 @@ namespace i2p
void SetUnreachable ();
bool AcceptsTunnels () const { return m_AcceptsTunnels; };
void SetAcceptsTunnels (bool acceptsTunnels) { m_AcceptsTunnels = acceptsTunnels; };
bool SupportsV6 () const { return m_RouterInfo.IsV6 (); };
void SetSupportsV6 (bool supportsV6);
// implements LocalDestination
const i2p::data::PrivateKeys& GetPrivateKeys () const { return m_Keys; };
const uint8_t * GetEncryptionPrivateKey () const { return m_Keys.GetPrivateKey (); };