Hi,
I am having a few problems understanding what is happening with this sample application under 7.0
I have slightly modified the sample so that after rhe initial DNS servers are removed I run DNSGetServers()
and display the results.
The output I get is
>Start DNS Client application
>The following servers were found:
>1) ::FFFF
>2) ::FFFF
>Removed DNS server ::FFFF
>Removed DNS server ::FFFF
>The following servers were found:
>1)
>2)
>DNSAddServer() for 10.0.0.1 succeeded.
>DNSAddServer() for 212.159.13.49 succeeded.
>The following servers were found:
>1) ::FFFF
>2) ::FFFF
>Domain name: digi.com has IP address: 66.77.174.69
>Cannot resolve IP address for domain name: digi.com
>Domain name: yahoo.com has IP address: 66.94.234.13
>IP address: 66.94.234.13 has domain name: >w2.rc.vip.scd.yahoo.com
>All done
Initially there seem to be two servers defined
After removal the call to DNSGetServers() returns 2 rather
than zero.
After I have added my new DNS Servers the print of there adresses is stil wrong but they do seem to work correctly.
It seems that the DNSGetServers() function is broken.
Any help on what is going on would be apprectiated
Regards
Roy