Topic Path: Symbol Reference > Classes > TAAAARecord Class > TAAAARecord Methods > Parse Method
ContentsIndexHome
PreviousUpNext
TAAAARecord.Parse Method

Converts and populates the value for the Address property.

procedure Parse(
    CompleteMessage: TIdBytes; 
    APos: Integer
); override;
Parameters 
Description 
CompleteMessage 
 
APos 
 

Parse is an overridden method in TAAAARecord used convert and populate values found in CompleteMessage for use in the Address property. 

Parse calls the inherited method prior to parsing values specific to the AAAA resource record type. 

Parse performs no processing if the value in RData is less than 15 bytes long. 

Parse converts the values in RData to an IPv6 address, an converts the 128-bit IP address from its Network byte ordering to the Host-specific byte ordering using the global stack instance in GStack

The string representation for the IPv6 address is stored in the Address property.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.