Go to the documentation of this file.
44 #ifndef CCXX_NETWORK_H_
45 #define CCXX_NETWORK_H_
47 #ifndef CCXX_MISSING_H_
51 #ifndef CCXX_SOCKET_H_
55 #ifndef CCXX_STRING_H_
61 #ifdef CCXX_NAMESPACES
100 {
return _broadcast; }
107 inline const int mtu()
const
114 #ifdef CCXX_NAMESPACES
friend __EXPORT bool enumNetworkDevices(std::vector< NetworkDeviceInfo > &devs)
Enumerate all available network devices.
Network device information class.
Definition: network.h:73
NetworkDeviceInfo(const String &name, const InetHostAddress &addr, const BroadcastAddress &broadcast, const InetMaskAddress &netmask, int mtu)
Common C++ generic string class.
#define InetHostAddress
Definition: address.h:76
#define BroadcastAddress
Definition: address.h:81
const InetMaskAddress & netmask() const
Returns the Netmask of the network device.
Definition: network.h:103
#define __EXPORT
Definition: config.h:979
NetworkDeviceInfo(const NetworkDeviceInfo &ndi)
substitute functions which may be missing in target platform libc.
const InetHostAddress & address() const
Returns the Address of the network device.
Definition: network.h:95
const int mtu() const
Returns the MTU.
Definition: network.h:107
const BroadcastAddress & broadcast() const
Returns the Broadcast address of the network device.
Definition: network.h:99
Network addresses and sockets related classes.
#define InetMaskAddress
Definition: address.h:77
const String & name() const
Returns the Name of the network device.
Definition: network.h:91
This is a generic and portable string class.
Definition: string.h:81