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
#define InetMaskAddress
Definition: address.h:77
#define InetHostAddress
Definition: address.h:76
#define BroadcastAddress
Definition: address.h:81
Network device information class.
Definition: network.h:73
const String & name() const
Returns the Name of the network device.
Definition: network.h:91
const InetMaskAddress & netmask() const
Returns the Netmask of the network device.
Definition: network.h:103
NetworkDeviceInfo(const NetworkDeviceInfo &ndi)
const BroadcastAddress & broadcast() const
Returns the Broadcast address of the network device.
Definition: network.h:99
friend __EXPORT bool enumNetworkDevices(std::vector< NetworkDeviceInfo > &devs)
Enumerate all available network devices.
NetworkDeviceInfo(const String &name, const InetHostAddress &addr, const BroadcastAddress &broadcast, const InetMaskAddress &netmask, int mtu)
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
This is a generic and portable string class.
Definition: string.h:81
#define __EXPORT
Definition: config.h:979
substitute functions which may be missing in target platform libc.
Network addresses and sockets related classes.
Common C++ generic string class.