hostnameresolver AutoResolve property
Return to Introduction  Previous page  Next page
Applies to
acHostnameResolver and acConnectionList components.  

Declaration
property AutoResolve: Boolean;  

Description
The AutoResolve property determines whether the component should lookup for hostname automatically at once after specifying the IPList or adding new IP address to that list.  
 
When AutoResolve is True, the thread which resolves hostnames will be started automatically and application can receive retrieved IPs in OnHostnameRetrieved event. When AutoResolve is False, you should programmatically start the thread using Execute method to start the lookup for hostnames.  

See also
IPList property;  
Execute and Abort methods;  
OnHostnameRetrieved event.