http://bugs.winehq.org/show_bug.cgi?id=29499
--- Comment #52 from Bruno Jesus 00cpxxx@gmail.com 2013-01-08 22:53:34 CST --- Created attachment 43129 --> http://bugs.winehq.org/attachment.cgi?id=43129 Hack force socket to block before closing
Please give the attached patch a try. This is a hack based on the same problem from bug 22291. It solves the issue for linux and needs tests for osx, remember that the cancel process takes up to 6 seconds on native too.
Due to the different nature of the UDP socket currently wine has a problem in the closure process and this makes the socket hang, there are other 4 or 5 bugs related to this same issue (I can't remember their numbers now).