NAME
NetworkDeviceInfo - Network device information class.
SYNOPSIS
#include <network.h>
Public Methods
NetworkDeviceInfo (const NetworkDeviceInfo &ndi)
~NetworkDeviceInfo ()
const std::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.
Protected Methods
NetworkDeviceInfo (const std::string &name, const InetHostAddress &addr, const BroadcastAddress &broadcast, const InetMaskAddress &netmask, int mtu)
DETAILED DESCRIPTION
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]>
CONSTRUCTOR & DESTRUCTOR DOCUMENTATION
NetworkDeviceInfo::NetworkDeviceInfo (const std::string & name, const InetHostAddress & addr, const BroadcastAddress & broadcast, const InetMaskAddress & netmask, int mtu) [protected]
NetworkDeviceInfo::NetworkDeviceInfo (const NetworkDeviceInfo & ndi)
NetworkDeviceInfo::~NetworkDeviceInfo ()
MEMBER FUNCTION DOCUMENTATION
const InetHostAddress& NetworkDeviceInfo::address () const [inline]
Returns the Address of the network device.
const BroadcastAddress& NetworkDeviceInfo::broadcast () const [inline]
Returns the Broadcast address of the network device.
const int NetworkDeviceInfo::mtu () const [inline]
Returns the MTU.
const std::string& NetworkDeviceInfo::name () const [inline]
Returns the Name of the network device.
const InetMaskAddress& NetworkDeviceInfo::netmask () const [inline]
Returns the Netmask of the network device.
AUTHOR
Generated automatically by Doxygen for CommonC++ from the source code.