Board index » delphi » Resolving Host Name

Resolving Host Name

Does anyone know how to resolve host name from an IP address? Thanks in
advance!
 

Re:Resolving Host Name


ping -a ?

Quote
"Trevor McIntyre" <t...@netrubric.ca> wrote in message

news:Vi9n7.5088$Ye2.873371@news20.bellglobal.com...
Quote
> Does anyone know how to resolve host name from an IP address? Thanks in
> advance!

Re:Resolving Host Name


Try using

 result :=gethostbyname('192.168.1.10');

or something similar. This should work as long as WSAStartup() has been
called.

Spike

Quote
Trevor McIntyre wrote in message ...
>Does anyone know how to resolve host name from an IP address? Thanks in
>advance!

Other Threads