Network device information class.
#include <network.h>
NetworkDeviceInfo (const NetworkDeviceInfo &ndi)
~NetworkDeviceInfo ()
const String & name () const
Returns the Name of the network device. const InetHostAddress & address () const
Returns the Address of the network device. const BroadcastAddress & broadcast () const
Returns the Broadcast address of the network device. const InetMaskAddress & netmask () const
Returns the Netmask of the network device. const int mtu () const
Returns the MTU.
NetworkDeviceInfo (const String &name, const InetHostAddress &addr, const BroadcastAddress &broadcast, const InetMaskAddress &netmask, int mtu)
__EXPORT bool enumNetworkDevices (std::vector< NetworkDeviceInfo > &devs)
Enumerate all available network devices.
Network device information class.
This class is used to hold various informations about a TCP/IP network device. Which can be obtained by a call to enumNetworkDevices()
Author:
Christian Prochnow [email protected]
Returns the Address of the network device.
Returns the Broadcast address of the network device.
Returns the MTU.
Returns the Name of the network device.
Returns the Netmask of the network device.
Enumerate all available network devices.
Generated automatically by Doxygen for GNU CommonC++ from the source code.