Skip to forum content

You are not logged in. Please login or register.


forums.pvpgn.pro → [EN] Diablo → How to configure wine/server/sock.c

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 5

1

Topic: How to configure wine/server/sock.c

I can't configure out where I have to put this code. I mean wich line.

if ((event & POLLOUT) && (sock->state & FD_WRITE))
         {
            /* According to WS2 spec, FD_WRITE is only delivered
               after connect and WSAEWOULDBLOCK while sending,
               so we clear FD_WRITE here. */
            sock->state &= ~FD_WRITE;

I'm using wine 1.6.2.

If anyone can send already configured sock.c file or screenshot of the exact place, please do it. Sorry for my bad english and have a nice day.

2

Re: How to configure wine/server/sock.c

You should follow the instructions how to build Wine code from the sources https://www.winehq.org/docs/wineusr-gui … ine-source

It was tested in Wine 1.3.6 and 2.0.1 (latest version for now). It must be compiled with sock.c patch.

Full source can be downloaded from
wine-1.3.6.tar.bz2
wine-2.0.1.tar.xz

The fixed file for different Wine versions
wine-1.3.6/server/sock.c
wine-2.0.1/server/sock.c

Related to https://forums.pvpgn.pro/viewtopic.php?id=1777

Do not ask for support in PM.

3

Re: How to configure wine/server/sock.c

i tried to run d2gs with the newest wine (4.0.3) and that sock problem still exists. is there an updated version of this? thanks in advance

4

Re: How to configure wine/server/sock.c

ez wrote:

i tried to run d2gs with the newest wine (4.0.3) and that sock problem still exists. is there an updated version of this? thanks in advance

Why not use version 2.0.1? It runs the D2GS very well.

5

Re: How to configure wine/server/sock.c

Feofilaktt wrote:
ez wrote:

i tried to run d2gs with the newest wine (4.0.3) and that sock problem still exists. is there an updated version of this? thanks in advance

Why not use version 2.0.1? It runs the D2GS very well.

to test if it is more stable/optimized.
2.0.1 is like 5 years old anyway

Posts: 5

Pages 1

You must login or register to post a reply

Who now at forum

Currently view post: 1 guest, 0 registered users

forums.pvpgn.pro → [EN] Diablo → How to configure wine/server/sock.c