Topic Path: Symbol Reference > Structs, Records, Enums > TIdIPAddressRec Record
ContentsIndexHome
PreviousUpNext
TIdIPAddressRec Record

Represents address and version information for an IP address.

File
TIdIPAddressRec = packed record
  IPVer: TIdIPVersion;
  case Integer of
    0: (IPv4: Cardinal;
        Junk1: Cardinal;
        Junk2: Cardinal;
        Junk3: Cardinal;);
    2: (IPv6: TIdIPv6AddressRec;);
end;

TIdIPAddressRec is a packed record type used to represent the IP version and component values for an Internet address. 

Use the IPVersion member field to access the TIdIPVersion for the IP address. 

Use the IPv4 member field to access the cardinal value for the IP address. 

Use the IPv6 member field to access the TIdIPv6AddressRec value for the IP address.

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