[fpc-pascal] Linux: resolving hostnames in local network

Andreas Klausmann andreas.klausmann at web.de
Sat Apr 23 20:38:20 CEST 2016

Thanks, cnetdb.gethostbyname() works fine (at least on my raspberry).   :)
Creating a wrapper function is recently my work-around for an actual
ping component (since linux doesn't seem to have a corresponding
component like ping.dll and I want to ping as non-root)

Am 23.04.2016 um 12:42 schrieb Marco van de Voort:
> In our previous episode, Michael Van Canneyt said:
>> You will need to use the C library routines for this.
> (which is in unit cnetdb in somewhat recent FPC's)
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

More information about the fpc-pascal mailing list