|Subject:||Re: RevDNS Resolver (?)|
|Posted by:||Remy Lebeau (TeamB) (gambit…@yahoo.com)|
|Date:||Sun, 13 Jul 2003|
"Egon" <firstname.lastname@example.org> wrote in message
> Is there any way to get client's IP resolved to
> it's name ?
Simply use the gethostbyaddr() function. The returned hostent structure
contains the name, amongst other values.
> I tried to use TIdDNSResolver, but it resolve only from
> known name to equivalent IP address (or am I wrong ?).
TIdDNSResolver is not for resolving IP to host, it is for resolving host to
RevDNS Resolver (?) posted by Egon on Sat, 12 Jul 2003