[Bug 9787] Warcraft3 Battle.net Doesn't work (Needs AcceptEx)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jul 18 11:37:03 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=9787





--- Comment #225 from Scott Lindeneau <slindeneau at gmail.com>  2008-07-18 11:36:56 ---
(In reply to comment #224)
> Sorry guys, that isn't the AcceptEx, Jon Griffiths submitted this as part of
> his TransmitFile/TransmitPackets implementation. This is merely forward to
> ws2_32, acceptex implementation there is stubbed yet so no changes yet...
> 

I haven't had time to throughly test it, but I believe that the correct
implementation for AcceptEx (only accepting the connection, no data yet) is to
set the error message to STATUS_PENDING instead of WSAWOULDBLOCK and then using
add_completion immediately after (or in) the acceptex_recv function. Doing one
or the other seems to cause fatal errors, doing both, however, seems to have
the desired result (and from what I can tell, the missed connection problem
goes away too). If i can work out how to make a patch I will test more and post
one here the day after tomorrow. (work interferes)


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list