http://bugs.winehq.org/show_bug.cgi?id=30511
--- Comment #21 from Dan Kegel dank@kegel.com 2012-07-08 22:38:16 CDT --- (In reply to comment #16)
The same socket handle was reused after closesocket. Maybe the socket is still closing and the handle reuse caused the crash?
It's worth looking at, but I think I've also seen it fail without the same handle.
Just trivial reuse of same handle doesn't crash wine itself, since http://kegel.com/wine/conntest.c passes.