Skip to content
Snippets Groups Projects
  • Daniel Stenberg's avatar
    00ae13f9
    - Guilherme Balena Versiani: I noted a strange BUG in Win32 port · 00ae13f9
    Daniel Stenberg authored
      (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.
    00ae13f9
    History
    - Guilherme Balena Versiani: I noted a strange BUG in Win32 port
    Daniel Stenberg authored
      (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.
To find the state of this project's repository at the time of any of these versions, check out the tags.