[Bug 29499] Age of Empires II freezes when disconnecting from a multiplayer room/game using native DirectPlay DLL

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jan 8 06:48:42 CST 2013


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

Mårten <maarten.kjellsson at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maarten.kjellsson at gmail.com

--- Comment #47 from Mårten <maarten.kjellsson at gmail.com> 2013-01-08 06:48:42 CST ---
I've managed to get the patch working on a mac by following Brunos guessings in
comment 28. It seems the "timeout" variable sent to poll() when on a mac is -1,
wich results in poll beeing blocking. I just set the variable "timeout" to
something other than -1 (in my test case i used 15 as timeout). This solved the
problem and I haven't noticed any other issues with it but this is most
certainly not the correct way of solving the problem.

As I'm not familiar with the wine code tree at all, I'm not sure where the
problem actually derives from. Either the defines "SO_RCVTIMEO" and
"SO_SNDTIMEO" are not set when compiling for mac or the function
get_rcvsnd_timeo(int, int) isn't able to get the correct timeout from the
socket on mac.

-- 
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