[PATCH 1/3] ws2_32: Implement SIO_ADDRESS_LIST_CHANGE with NotifyAddrChange (try 2).

Erich E. Hoover erich.e.hoover at gmail.com
Sun Aug 4 23:24:59 CDT 2013


The attached patch is the next step in the series of fixes for
Silverlight/PlayReady under Wine. This particular patch does not
impact Netflix, but it does impact a number of other PlayReady
streaming services (and a variety of non-streaming sites as well).
Sorry it's taken so long to get back to this, life has been busy
lately.

With this patch the SIO_ADDRESS_LIST_CHANGE call gets passed on to
NotifyAddrChange, which effectively fixes a problem where Silverlight
apps can loop forever calling SIO_ADDRESS_LIST_CHANGE (Bug #32328).
Part 2 actually implements the NotifyAddrChange call on Linux, though
this patch is sufficient on its own to resolve the bug since the
overlapped IO event no longer gets triggered.

This version of the patch has bee updated to include tests that show
that the notification is not tied to the socket.  For example,
changing an interface that the socket is not bound to still results in
an overlapped notification.  It's worth noting that these tests
require interactive mode and a PC with two network cards, so for my
testing I used an actual (non-VM) Windows 7 box with a wired and a
wireless card.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ws2_32-Implement-SIO_ADDRESS_LIST_CHANGE-with-Notify.patch
Type: application/octet-stream
Size: 4593 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130804/ccd4778b/attachment.obj>


More information about the wine-patches mailing list