|
simple-socket library 1.1.5
|
#include <vector>#include <string>

Go to the source code of this file.
Namespaces | |
| namespace | NET |
Functions | |
| std::string | NET::getBroadcastAddress (const std::string &interface) |
| Return the IPv4 broadcast address of the given network interface. | |
| std::string | NET::getDestinationAddress (const std::string &interface) |
| Return the IPv4 destination address of the given network interface. | |
| std::string | NET::getHardwareAddress (const std::string &interface, char separationChar= ':') |
| Return the MAC address of the given network interfaces. | |
| std::string | NET::getInterfaceAddress (const std::string &interface) |
| Return the IPv4 address of the given network interface. | |
| int | NET::getMTU (const std::string &interface) |
| Return the MTU (Maximum Transmission Unit) of the given network interface in bytes. | |
| std::string | NET::getNetmask (const std::string &interface) |
| Return the IPv4 netmask of the given network interface. | |
| std::vector< std::string > | NET::getNetworkInterfaces () |
| Return a list of available network interfaces. | |
| std::string | NET::resolveHostname (const std::string &hostname) |
| unsigned short | NET::resolveService (const std::string &service, const std::string &protocol="tcp") |
| void | NET::setBroadcastAddress (const std::string &interface, const std::string &address) |
| Set the IPv4 broadcast address of the given network interface. | |
| void | NET::setDestinationAddress (const std::string &interface, const std::string &address) |
| Set the IPv4 destination address of the given network interface. | |
| void | NET::setInterfaceAddress (const std::string &interface, const std::string &address) |
| Set the IPv4 address of the given network interface. | |
| void | NET::setMTU (const std::string &interface, int mtu) |
| Set the MTU (Maximum Transmission Unit) of the given network interface in bytes. | |
| void | NET::setNetmask (const std::string &interface, const std::string &address) |
| Set the IPv4 netmask of the given network interface. | |
1.7.3