Re: [Gambas-user] DnsClient not working?
Brought to you by:
gambas
|
From: T L. D. <t.l...@gm...> - 2014-11-21 23:04:29
|
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." |