http://bugs.winehq.org/show_bug.cgi?id=29145
--- Comment #7 from Hans Leidekker hans@meelstraat.net 2011-11-23 05:07:36 CST --- (In reply to comment #5)
The Perfect Dark doesn't even try to bind port after getaddrinfo check. This makes application unusable as it's P2P client.
As I see right now, with this commit WS_getaddrinfo pass "localhost" to getaddrinfo and it returns EAI_NONAME (-2). I don't see success here, and the Perfect Dark seems so.
getaddrinfo(NULL) also returned EAI_NONAME, so that doesn't explain the difference you see. Does "localhost" really not resolve on your system?