'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Function parse_a_record

odtone::dns::parse_a_record

Synopsis

// In header: </home/carlos/Projectos/odtone/inc/odtone/net/dns/utils.hpp>


a_record parse_a_record(const unsigned char * p, int pos, int len);

Description

Parse a A Resource Record. In the end the position is pointing to the next byte after the A Resource Record end.

Parameters:

len

Length of the A Resource Record.

p

Byte array containing the information.

pos

Position in the byte array where to start parsing.

Returns:

The A Resource Record value.


PrevUpHomeNext