http://bugs.winehq.org/show_bug.cgi?id=29145
--- Comment #11 from Hans Leidekker hans@meelstraat.net 2011-11-23 08:50:17 CST --- Created attachment 37593 --> http://bugs.winehq.org/attachment.cgi?id=37593 ws2_32: Pass NULL hostname on to native getaddrinfo.
Can you try this patch?