Subject: Re: Little WIN32 BUG in ares_init()

Re: Little WIN32 BUG in ares_init()

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 3 Nov 2006 22:35:00 +0100 (CET)

On Fri, 3 Nov 2006, Guilherme Balena Versiani wrote:

> - When there are no network interface at all, the function ares_init()
> returns -1, an invalid ares error value.
>
> I attached the tiny patch as a suggestion to solve it.

Aha. But even Windows offer name resolves on a hosts file, right? So I guess
the even better approach would be to allow c-ares to do only file-based
resolves for this case... Wouldn't it?

-- 
   c-ares -- my preferred DNS asynch resolver library
Received on 2006-11-03