drop second incoming connection with same identity

This commit is contained in:
orignal 2015-02-06 16:03:47 -05:00
parent 8e75d8c39a
commit 0518b08ca6
4 changed files with 19 additions and 4 deletions

View file

@ -63,6 +63,7 @@ namespace transport
void Introduce (uint32_t iTag, const uint8_t * iKey);
void WaitForIntroduction ();
void Close ();
void Terminate ();
boost::asio::ip::udp::endpoint& GetRemoteEndpoint () { return m_RemoteEndpoint; };
bool IsV6 () const { return m_RemoteEndpoint.address ().is_v6 (); };
void SendI2NPMessage (I2NPMessage * msg);