OnHostnameRetrieved event
|
acHostnameResolver and acConnectionList components.
|
type
|
TacHostnameRetrievedEvent = procedure(Sender: TObject; const IPStr, Hostname: String) of object;
|
|
property OnHostnameRetrieved: TacHostnameRetrievedEvent;
|
The OnHostnameRetrieved event occurs when component has retrieved some IP address from the list (queue) specified in IPList property.
|
|
The event passes to its handler following parameters:
|
Parameter | Meaning
|
IPStr | the original IP address which has been specified in IPList property, but already remoted from that queue because the host name was retrieved.
|
Hostname | the name of machine retrieved by IP address after lookup.
|
If you are use cache (CacheSize > 0), the retrieved hostname will be put to the cache, so next time when you will resolve it, the process will be much quicker. Also you can use ResolveCachedIP function to get it very quickly.
|
AutoResolve and IPList properties;
|
Execute, Abort and ResolveCachedIP methods;
|
OnHostnameRetrieved event.
|