Function parse_domain_name
odtone::dns::parse_domain_name
Synopsis
std::string parse_domain_name(const unsigned char * p, int & pos);
Description
Parse a domain name. In the end the position is pointing to the next byte after the domain name end.
Parameters: |
p
|
Byte array containing the information. |
pos
|
Position in the byte array where to start parsing. |
|
Returns: |
The domain name in the string form. |