http://bugs.winehq.org/show_bug.cgi?id=21387
--- Comment #19 from Bruno Jesus 00cpxxx@gmail.com 2011-08-25 21:25:13 CDT --- Should be fixed by bebc425bb52fde72611a767c732b0214074b3f17.
There were two problems here, first is that MSG_PEEK was deadlocking the application, tests prove this is not happening anymore.
Second there was a false-positive fd being set on write making the program think the connection was established, this is fixed too.