I am developing for an embedded system and found out that 'nmap --iflist' does a faily good job of this if the output is examined and parsed properly. If it is suitable and you can possibly extract the code (if you are prepared to go that far) it might help you. It is also cross platform<br>
<br><div class="gmail_quote">On 7 October 2010 17:58, silvioprog <span dir="ltr"><<a href="mailto:silvioprog@gmail.com">silvioprog@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="gmail_quote">2010/10/7 Luca Olivetti <span dir="ltr"><<a href="mailto:luca@ventoso.org" target="_blank">luca@ventoso.org</a>></span><div class="im"><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><br></div>
I didn't try it, but I see that it tries to connect to google's dns server, so it'd fail miserably if the computer has no internet access.<br>
<br>
Bye<br>
-- <br><font color="#888888">
Luca<br></font></blockquote><div><br></div></div><div>I tested, without web access does not work. :o </div></div><br><font color="#888888">-- <br>Silvio Clécio,<br><div><span style="font-family: arial;"><div><div><span style="font-family: arial;"><div>
<b><span style="color: rgb(204, 204, 204);"><span style="background-color: rgb(68, 68, 68);">programmer</span></span></b><span style="font-family: arial;"><span style="font-family: arial;"><span style="color: white;"><span style="color: rgb(204, 204, 204);"><span style="background-color: rgb(68, 68, 68);"> </span></span><b><span style="color: rgb(68, 68, 68);"><span style="background-color: rgb(68, 68, 68);"><span style="color: rgb(106, 168, 79);">ObjectPascal</span></span></span></b></span></span></span></div>
</span></div></div></span></div>
</font><br>_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br></blockquote></div><br><br clear="all"><br>-- <br>Frank Church<br><br>=======================<br>
<a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a><br>