Fix for missing broadcast address on Linux Ethernet taps.

This commit is contained in:
Adam Ierymenko 2014-09-04 13:36:25 -04:00
parent 4dbeb97eb9
commit 6df9546742
3 changed files with 37 additions and 2 deletions

View file

@ -217,6 +217,14 @@ public:
InetAddress netmask() const
throw();
/**
* Constructs a broadcast address from a network/netmask address
*
* @return Broadcast address (only IP portion is meaningful)
*/
InetAddress broadcast() const
throw();
/**
* @return True if this is an IPv4 address
*/