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
111 friend __EXPORT bool enumNetworkDevices(std::vector<NetworkDeviceInfo>& devs);
114 #ifdef CCXX_NAMESPACES
const BroadcastAddress & broadcast() const
Returns the Broadcast address of the network device.
Definition: network.h:99
This is a generic and portable string class.
Definition: string.h:77
Network device information class.
Definition: network.h:72
const InetHostAddress & address() const
Returns the Address of the network device.
Definition: network.h:95
Common C++ generic string class.
const InetMaskAddress & netmask() const
Returns the Netmask of the network device.
Definition: network.h:103
#define __EXPORT
Definition: config.h:980
#define BroadcastAddress
Definition: address.h:81
substitute functions which may be missing in target platform libc.
const String & name() const
Returns the Name of the network device.
Definition: network.h:91
#define InetHostAddress
Definition: address.h:76
const int mtu() const
Returns the MTU.
Definition: network.h:107
#define InetMaskAddress
Definition: address.h:77
Network addresses and sockets related classes.