Indy 9
Example
TIpStruct
  // get the next IP address
  Inc(AIpStruct.FullAddr);
  AString := Format('%d.%d.%d.%d',
    [ AIpStruct.Byte1,
      AIpStruct.Byte2,
      AIpStruct.Byte3,
      AIpStruct.Byte4 ]);

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.