|
| std::string | NET::getBroadcastAddress (std::string_view interface) |
| | Return the IPv4 broadcast address of the given network interface.
|
| |
| std::string | NET::getDestinationAddress (std::string_view interface) |
| | Return the IPv4 destination address of the given network interface.
|
| |
| std::string | NET::getHardwareAddress (std::string_view interface) |
| | Return the MAC address of the given network interfaces.
|
| |
| std::string | NET::getInterfaceAddress (std::string_view interface) |
| | Return the IPv4 address of the given network interface.
|
| |
| int | NET::getMTU (std::string_view interface) |
| | Return the MTU (Maximum Transmission Unit) of the given network interface in bytes.
|
| |
| std::string | NET::getNetmask (std::string_view 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) |
| |
| uint16_t | NET::resolveService (const std::string &service, const std::string &protocol="tcp") |
| |
| void | NET::setBroadcastAddress (std::string_view interface, std::string_view address) |
| | Set the IPv4 broadcast address of the given network interface.
|
| |
| void | NET::setDestinationAddress (std::string_view interface, std::string_view address) |
| | Set the IPv4 destination address of the given network interface.
|
| |
| void | NET::setInterfaceAddress (std::string_view interface, std::string_view address) |
| | Set the IPv4 address of the given network interface.
|
| |
| void | NET::setMTU (std::string_view interface, int mtu) |
| | Set the MTU (Maximum Transmission Unit) of the given network interface in bytes.
|
| |
| void | NET::setNetmask (std::string_view interface, std::string_view address) |
| | Set the IPv4 netmask of the given network interface.
|
| |