8 Dec
2016
8 Dec
'16
7:30 p.m.
On Thu, Dec 8, 2016 at 4:41 PM, Stefan Dösinger <stefandoesinger(a)gmail.com> wrote:
Am 2016-12-07 um 06:27 schrieb Bruno Jesus:
@@ -2433,6 +2438,12 @@ static int WS2_send( int fd, struct ws2_async *wsa, int flags ) union generic_unix_sockaddr unix_addr; int n, ret;
+ if (network_disabled) + { + errno = EHOSTUNREACH; + return -1; + } + Shouldn't it be possible to achieve a similar effect with a LD_PRELOAD library?
Sorry, I don't get what you mean. What would I preload to make Wine network fail?