En/na Marco van de Voort ha escrit:
In our previous episode, Brian Winfrey said:
I found an example for linux on stack overflow that was in c
http://stackoverflow.com/questions/212528/linux-c-get-the-ip-address-of-local-computer
Compiles on FreeBSD and the result looks sane (but on a system that has a
routable address)
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.
Bye
--
Luca
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal