|Subject:||Re: Http server remote DNS name|
|Posted by:||Remy Lebeau (Indy Team) (email@example.com)|
|Date:||Tue, 21 Nov 2006|
"Rasmus Wätjen" <firstname.lastname@example.org> 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