Internet Direct (Indy) Version 9.0.2 Beta
THINFORecord.Parse
Parsed RData values into properties.

procedure Parse(CompleteMessage: String; APos: Integer); override;
Parameters
CompleteMessage: String
Contents of the resource record.

APos: Integer
Position where RData values begin in the answer.

Description
Parse is an overridden procedure that implements a routine to parse resource record values in the DNS response into their property-based counterparts.

CompleteMessage is the contents of the resource record. Since the DNS message can contain compressed data, the whole message is needed for parsing and pointer location.

APos is the position in the resource record where RData values for this record type are located in the DNS Answer.

Parse calls the inherited Parse method, and retrieve the DNS labels and values for the CPU and OS properties.