Internet Direct (Indy)
Home
PreviousUpNext
TIdIPVersion Enumeration

Represents IP version numbers used in protocol-related classes.

Pascal
TIdIPVersion = (
  Id_IPv4,
  Id_IPv6
);

TIdIPVersion is an enumerated type that represents the IP version and format used to represent IP addresses. Valid values for TIdIPVersion include the following: 

 

Value 
Meaning 
Id_IPv4 
Numeric IP Addresses are expressed as a four-byte numeric value in dotted-decimal format. 
Id_IPv6 
Numeric IP Addresses are expressed as a eight-byte numeric value in colon-delimited format. 

 

TIdIPVersion is used to represent the IPVersion property in protocol-related classes, like TIdHTTPRequest and TIdURI

TIdIPVersion is also used when creating IOHandlers and bindings for socket connections. 

Use ID_DEFAULT_IP_VERSION to determine the IP version supported and implemented using compiler defines used when building the Indy library.

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.