|Subject:||Re: Http server remote DNS name|
|Posted by:||Remy Lebeau (Indy Team) (firstname.lastname@example.org)|
|Date:||Tue, 21 Nov 2006|
"Rasmus Wätjen" <email@example.com> wrote in
> The TIdHTTPRequestInfo.RemoteIP supplies the IP address of
> the client connected to the HTTP server. How can I get the DNS
> name for that client?
You have to perform a reverse DNS lookup.
> Is there a built-in way
The WSGetHostByAddr() (Indy 9) or HostByAddress() (Indy 10) method of the
global GStack object.
> should I use the TidDNSResolver?
Http server remote DNS name posted by Rasmus Wätjen on Tue, 21 Nov 2006