Hey,
the latest c-ares release fails on Windows. The problem is that sclose is
being defined to close (due to HAVE_CLOSESOCKET not being defined), and
MSVC's close() does not like sockets at all, so it assert()s and programs
compiled with c-ares as well as the examples from the package crash.
I added
#define HAVE_CLOSESOCKET 1
to config-win32.h and that fixed the crash I got from
ares__close_sockets.c, but it looks like there could be more defines
missing. Thanks!
Best regards
Ingmar Runge
Received on 2009-12-21