[PATCH] ws2_32: Add support to disable networking with envvar WINENONET=1

Stefan Dösinger stefandoesinger at gmail.com
Sat Dec 10 04:44:23 CST 2016


Am 2016-12-08 um 19:30 schrieb Bruno Jesus:
> Sorry, I don't get what you mean. What would I preload to make Wine
> network fail?
You can write a library that hooks the Linux side of the network related
functions and returns an error, similarly to how you modified the
implementations in Wine. I have used a similar hack to modify bind() to
make multiple instances of Warcraft 3 work on my multiseat gaming box.
Unfortunately I lost the source code to that library, but it was around
10 lines of code.

On OSX there's something called DYLD interposing if I remember
correctly, but I don't know how it works.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20161210/2f7ebecc/attachment.sig>


More information about the wine-devel mailing list