mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
check if we can send HolePunch to partcular address
This commit is contained in:
parent
22f9abc2f1
commit
dda25d431c
4 changed files with 23 additions and 1 deletions
|
@ -49,6 +49,7 @@ namespace transport
|
|||
void Stop ();
|
||||
boost::asio::io_service& GetService () { return GetIOService (); };
|
||||
void SetLocalAddress (const boost::asio::ip::address& localAddress);
|
||||
bool IsSupported (const boost::asio::ip::address& addr) const;
|
||||
|
||||
void AddSession (std::shared_ptr<SSU2Session> session);
|
||||
void RemoveSession (uint64_t connID);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue