http://bugs.winehq.org/show_bug.cgi?id=8514
------- Additional Comments From damjan.jov@gmail.com 2007-30-05 01:05 ------- Created an attachment (id=6519) --> (http://bugs.winehq.org/attachment.cgi?id=6519&action=view) getsockname patch
This patch should fix the bug, I've already sent it to wine-patches.