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

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Sat Apr 23 15:30:55 CEST 2016

On 2016-04-23 10:23, Andreas Klausmann wrote:
> Testhost is reachable from console by hostname: ping testhost.local ->
> success (resolved in background by avahi)

Not sure, but you could always create a wrapper function or class around
the OS 'ping' command, or nslookup. Read the program results and let
your wrapper function or class return that as the resolved name.


fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

My public PGP key:  http://tinyurl.com/graeme-pgp

More information about the fpc-pascal mailing list