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.