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

Represents the byte, word, or longword values that make up the IPv4 address.

File
TIdIn4Addr = packed record
  case integer of
    0: (S_un_b: TIdSunB;);
    1: (S_un_w: TIdSunW;);
    2: (S_addr: longword;);
end;

TIdIn4Addr is a packed record type used to represent an IP version 4 address using the byte, word, or longword values that make up the IP address. 

Use the S_un_b member field to access the unsigned bytes values in the IP address as a TIdSunB record. 

Use the S_un_w member field to access the unsigned word values in the IP address as a TIdSunW record. 

Use the S_addr member field to access the longword 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.