RemoteHostName property
This property will resolve the remoteIpAddress to the host name if possible using the operating system. Sometimes no host name resolution will be possible at which point this function will return 'unknown'.
Applies to
Declaration
property RemoteHostName : String;
Description
For the first time this method is called, it blocks until the name is resolved. This means that if you make the call in the context of your message loop your application will appear to freeze for a few seconds.
Subsequent calls will return immediately with a cached value.
For more advanced functionality you may wish to use other facilities to resolve the host name outside of the functionality offered here.