http://bugs.winehq.org/show_bug.cgi?id=13655 Summary: shutdown with async sockets maybe broken Product: Wine Version: 1.0-rc1 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: wolfgang.walter(a)studentenwerk.mhn.de Created an attachment (id=13637) --> (http://bugs.winehq.org/attachment.cgi?id=13637) trace We have a application which uses a tcp-socket (asynchronous). If the host it tries to connect to is unreachable it hangs. With windows the connect instead timeouts after 10 seconds. I run it with debugging on the following happens with wine: it opens a dialog box ("Connecting to...") it opens a socket it does a ws2_32.WSAAsyncSelect(0000019c,0003009e,00000402,00000033) where 0003009e is the handle of the dialog box it tries to connect: ws2_32.connect(0000019c,02aede4c,00000010) it creates a timer for the window: user32.SetTimer(0003009e,00000065,00002710,00000000) the timer expires after 10 seconds it calls KillTimer tries to log a error message it then does ws2_32.shutdown(0000019c,00000001) [retval=00000000] and then the programs hangs (the dialog box remains open, only little activity in the wine trace). I suspect that the dialog box waits for an event that the socket is closed. -- 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.