On 11/21/2014 05:19 PM, Benoît Minisini wrote: > Le 21/11/2014 23:06, T Lee Davidson a écrit : >> Greetings, >> >> Either I am doing something wrong, my network config is amiss (LAN with >> DNS server set to router's IP), or DnsClient is not working. >> >> Exec ["host", Domain] works. But, both DnsClient.GetHostName and >> DnsClient.GetHostIP return null for a valid, resolvable host. > > The documentation is false. You must call GetHostName() to get the > hostname, and GetHostIP() to get the ip. Note that gambaswiki.org is > currently down (not my fault).
Yes, that works better :-) Thank you, Benoît. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
