Hi,
how can I resolve hostnames in a local (private) network under linux?
Both gethostbyname() and THostResolver work fine for google.com etc, but
not for local hostnames like testhost.local.
Testhost is reachable from console by hostname: ping testhost.local ->
success (resolved in background by avahi)

gethostbyname() works fine under Windows even for LAN resolution
(resolved in background by Netbios name service).

Currently I'm working on Ubuntu 15.10 on a raspberry, fpc 3.0.

Best regards!
Andreas

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to