http://bugs.winehq.org/show_bug.cgi?id=30020
--- Comment #11 from thanoulas thanoulas@gmail.com 2012-04-19 10:36:31 CDT --- trace:winsock:WS_setsockopt socket: 029c, level 0xffff, name 0x80, ptr 0x2a2e914, len 4 warn:winsock:wsaErrno errno 22, (Invalid argument).
I traced this error back to the TransmitFile patch, but this only happens after the client re-tries to connect to the local service. The first connection attempt results to the "operation now in progress" method. This error is basically an "invalid parameters" error.
I also think it's a TCP socket, not so sure about that though (the service log says so)
There are no gethostbyname calls, the game installs a local .net service that binds to 0.0.0.0:17729 and handles all external connections to the server. The (first) problem is that the game client cannot connect to that service. I'm sure there will be more connection problems once this is sorted out :)
I'm also attaching the +winsock trace