Internet Direct (Indy)
Home
PreviousUpNext
TIdIn4Addr Record

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

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

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.