mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
Add bind to network interface option
This commit is contained in:
parent
14f2b24b16
commit
f88f68f248
4 changed files with 86 additions and 13 deletions
1
util.h
1
util.h
|
@ -66,6 +66,7 @@ namespace util
|
|||
namespace net
|
||||
{
|
||||
int GetMTU (const boost::asio::ip::address& localAddress);
|
||||
const boost::asio::ip::address GetInterfaceAddress(const std::string & ifname, bool ipv6=false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue