Internet Direct (Indy)
Home
PreviousUpNext
TIdIPAddressRec Record

Represents address and version information for an IP address.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.