joyent/libuv — pull request #1408 by orangemocha (2014-08-08 17:18:24+00:00)
Title: windows: fix uv__getaddrinfo_translate_error

The common implementation of uv__getaddrinfo_translate_error
was expecting EAI error codes, but according to MSDN and my testing
GetAddrInfoW returns windows socket error codes.

GetNameInfoW also returns windows socket error codes after calling
WSAGetLastError.