<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks Sven</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 5 August 2013 20:10, Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 05.08.2013 19:34, Richard Mace wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
What's the best/easiest/only was of getting a host name via an IP address?<br>
<br>
Effectively, i'd like to "ping" a number of ip addresses and see what<br>
the host name is so that I can present the list to the user.<br>
<br>
Thanks in advance<br>
</blockquote>
<br></div></div>
Just in case: you are hopefully aware that one IP address can map to multiple host names?<br>
<br>
What you are looking for is called "reverse DNS lookup" and while I don't know much about it maybe the wiki article is a valuable starting point for a search: <a href="http://en.wikipedia.org/wiki/Reverse_DNS_lookup" target="_blank">http://en.wikipedia.org/wiki/<u></u>Reverse_DNS_lookup</a><br>


<br>
Regards,<br>
Sven<br>
<br>
--<br>
______________________________<u></u>_________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank">Lazarus@lists.lazarus.<u></u>freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.<u></u>freepascal.org/mailman/<u></u>listinfo/lazarus</a><br>
</blockquote></div><br></div>