#include <string>
#include <stdint.h>
Go to the source code of this file.
Namespaces | |
rc | |
Functions | |
bool | rc::getThisHostsIP (std::string &this_hosts_ip, const std::string &other_hosts_ip, const std::string &network_interface="") |
Convenience function to scan this host's (multiple) network interface(s) for a valid IP address. More... | |
uint32_t | rc::ipToUInt (const std::string &ip) |
Converts a string-represented ip into uint (e.g. More... | |
bool | rc::isIPInRange (const std::string &ip, const std::string &network, const std::string &mask) |
Checks if a given ip is in range of a network defined by ip/subnet taken from: https://www.stev.org/post/ccheckanipaddressisinaipmask. More... | |
bool | rc::isValidIPAddress (const std::string &ip) |
Checks if given string is a valid IP address. More... | |