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). > > Project attached. > > By the way, the documentation states that the default process mode for > DnsClient is synchronous. But, when I dropped the DnsClient control onto > the main form, the Async property defaulted to True. Does the > documentation need to be updated? The doc is right there, the IDE is false. I will fix it. -- Benoît Minisini ------------------------------------------------------------------------------ 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
