Internet Direct (Indy)
Home
PreviousUpNext
TIdIn6Addr Record

Represents the byte, word, or cardinal values that make up the IPv6 address.

Pascal
TIdIn6Addr = packed record
  case Integer of
    0: (s6_addr: packed array [0..16-1] of byte);
        s6_addr16: packed array [0..8-1] of word);
        s6_addr32: packed array [0..4-1] of cardinal););
end;

TIdIn6Addr is a packed record type used to represent an IP version 6 address using arrays of byte, word, or cardinal values that make up the IP address. 

Use the s6_addr member field to access the array of byte values that make up the IP address. Byte values can be accessed using their position in the array (0 .. 15). 

Use the s6_addr16 member field to access the array of word values that make up the IP address. Word values can be accessed using their position in the array (0 .. 7) 

Use the s6_addr32 member field to access the array of cardinal word values that make up the IP address. Cardinal values can be accessed using their position in the array (0 .. 3). 

Use TIdIn4Addr to represent an IP version 4 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.