Internet Direct (Indy) Version 9.0.2 Beta
|
procedure FillIPList;
FillIPList is used when reading values from the ListIP property. FillIPList populates the address list when it does not contain any entries, or in the OnNetAddressChange and OnNetMaskChange event handlers.
FillIPList uses the values in NetworkAddress and NetworkMask to perform calculations for available network addresses. The binary length of NetworkMask is used to determine the maximum number of IP addresses on the network in NumIP.
Note: FillIPList will not create a list of IP addresses in the IDE, or when the component state is csDesigning, if the length of the list from NumIP will exceed 1024 entries. This is done to prevent a long loop where the IDE would appear to be locked.