Topic Path: Symbol Reference > Classes > TIdIPAddress Class > TIdIPAddress Properties > AddrType Property
TIdIPAddress.AddrType Property

Indicates the format used for the IP address.

property AddrType: TIdIPVersion;

AddrType is a TIdIPVersion property used to indicate the Internet Address format supported for the IP address. 

The default value for AddrType is Id_IPv4, as assigned in Create

AddrType is updated in MakeAdressObject when creating the IP address using the string value for the IP address. 

AddrType is used in methods that compare or convert IP addresses using their string and/or structured representations.

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