[PATCH 1/2] ws2_32/socket: Do not change the socket address to INADDR_ANY

Michel van Langen michelvanlangen at gmail.com
Fri Apr 5 22:26:24 CDT 2019


Changing the socket address causes some applications to attempt to bind 
the same port twice. These applications enumerate all adapters on the 
local machine and bind to their unique addresses so they can receive UDP 
broadcast messages on every connected network.

By default, binding to 0.0.0.0:<port> will only bind to the primary 
adapter of the machine using Windows.
---
   dlls/ws2_32/socket.c | 6 ++++--
   1 file changed, 4 insertions(+), 2 deletions(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ws2_32-socket-Do-not-change-the-socket-address-to-IN.patch
Type: text/x-patch
Size: 754 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20190406/edcea9a9/attachment.bin>


More information about the wine-devel mailing list