SYNOPSIS

#include <network.h>

Public Member Functions

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.

Protected Member Functions

NetworkDeviceInfo (const String &name, const InetHostAddress &addr, const BroadcastAddress &broadcast, const InetMaskAddress &netmask, int mtu)

Friends

__EXPORT bool enumNetworkDevices (std::vector< NetworkDeviceInfo > &devs)

Enumerate all available network devices.

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

ost::NetworkDeviceInfo::NetworkDeviceInfo (const \fBString\fP &name, const \fBInetHostAddress\fP &addr, const \fBBroadcastAddress\fP &broadcast, const \fBInetMaskAddress\fP &netmask, intmtu)\fC [protected]\fP

ost::NetworkDeviceInfo::NetworkDeviceInfo (const \fBNetworkDeviceInfo\fP &ndi)

ost::NetworkDeviceInfo::~NetworkDeviceInfo ()

Member Function Documentation

const \fBInetHostAddress\fP& ost::NetworkDeviceInfo::address () const\fC [inline]\fP

Returns the Address of the network device.

const \fBBroadcastAddress\fP& ost::NetworkDeviceInfo::broadcast () const\fC [inline]\fP

Returns the Broadcast address of the network device.

const int ost::NetworkDeviceInfo::mtu () const\fC [inline]\fP

Returns the MTU.

const \fBString\fP& ost::NetworkDeviceInfo::name () const\fC [inline]\fP

Returns the Name of the network device.

const \fBInetMaskAddress\fP& ost::NetworkDeviceInfo::netmask () const\fC [inline]\fP

Returns the Netmask of the network device.

Friends And Related Function Documentation

\fB__EXPORT\fP bool enumNetworkDevices (std::vector< \fBNetworkDeviceInfo\fP > &devs)\fC [friend]\fP

Enumerate all available network devices.

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.