2012/8/10 Gisle Vanem <gvanem_at_broadpark.no>:
> adig.c calls perror() when select() fail. This doesn't work on
> Winsock; perror() prints errno string, not WSAGetLastError().
> So I suggest we add a new ares_perror() function to ares_strerror.c:
Makes sense to me.
Quickly and unscientifically searching the web gave me
http://tangentsoft.net/wskfaq/articles/bsd-compatibility.html
which states the same thing.
-- Tommie Gannert Software engineer, backend infrastructure Spotify ABReceived on 2012-08-13