aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/getinfo.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-09-11 20:25:13 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-09-11 20:25:13 +0000
commit00ae13f96630dc5c2a9add25a4337710f8fcdaf5 (patch)
treeb89fe4a26ab389e5e7b90ba537916a4a0530152d /docs/examples/getinfo.c
parent29dc39fce1126265d8526be15beec3e3fdc1c11d (diff)
- Guilherme Balena Versiani: I noted a strange BUG in Win32 port
(ares_init.c/get_iphlpapi_dns_info() function): when I disable the network by hand or disconnect the network cable in Windows 2000 or Windows XP, my application gets 127.0.0.1 as the only name server. The problem comes from 'GetNetworkParams' function, that returns the empty string "" as the only name server in that case. Moreover, the Windows implementation of inet_addr() returns INADDR_LOOPBACK instead of INADDR_NONE.
Diffstat (limited to 'docs/examples/getinfo.c')
0 files changed, 0 insertions, 0 deletions