Closed lbussy closed 3 years ago
Closes #18. Adds new utility methods:
bool isMDNS()
bool isMDNS(const char *hostName)
bool isValidIP(const char * hostName
int labelCount(const char * hostName)
bool isANumber(const char * str)
bool isValidLabel(const char *label)
bool isValidHostName(const char *hostName)
Closes #18. Adds new utility methods:
bool isMDNS()
- (deprecated)bool isMDNS(const char *hostName)
- Returns true if hostname is a valid mDNS namebool isValidIP(const char * hostName
- Returns true if hostName represents a valid IP address stringint labelCount(const char * hostName)
- Integer of the number of labels in the hostnamebool isANumber(const char * str)
- Returns true if string is a valid numberbool isValidLabel(const char *label)
- Returns true if the string is a valid DNS labelbool isValidHostName(const char *hostName)
- Return true if the hostname passed is a valid DNS, mDNS or IP hostname