http://bugs.winehq.org/show_bug.cgi?id=17699
--- Comment #7 from Mike Kaplinskiy mike.kaplinskiy@gmail.com 2009-12-25 15:27:50 --- Created an attachment (id=25401) --> (http://bugs.winehq.org/attachment.cgi?id=25401) ConnectEx hack
Does the attached patch help? I didn't quite test this but it should be fine considering the code is almost an exact copy of ws_connect.