odtone::dns::parse_srv_record
// In header: </home/carlos/Projectos/odtone/inc/odtone/net/dns/utils.hpp> srv_record parse_srv_record(const unsigned char * p, int pos, int len);
Parse a SRV Resource Record. In the end the position is pointing to the next byte after the SRV Resource Record end.
Parameters: |
|
||||||
Returns: |
The SRV Resource Record value. |