Add bind to network interface option

This commit is contained in:
Jeff Becker 2016-06-29 11:06:51 -04:00
parent 14f2b24b16
commit f88f68f248
No known key found for this signature in database
GPG key ID: AB950234D6EA286B
4 changed files with 86 additions and 13 deletions

1
util.h
View file

@ -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);
}
}
}