http://bugs.winehq.org/show_bug.cgi?id=30020
--- Comment #20 from Witold Baryluk baryluk-winehq@smp.if.uj.edu.pl 2012-04-23 21:53:21 CDT --- I have idea, maybe setsockopt fails, because socket is already closed because of previous errors? sic! Then probably checking WS_connect first will be better.