[PATCH] Increased winsock2 maximum sockets

Andrew Miskell andrewmiskell at mac.com
Thu Jan 27 23:44:24 CST 2022


I’ve also submitted a similar patch today to increase the value to 256 from 128 (https://www.winehq.org/pipermail/wine-devel/2022-January/205853.html)

My specific reason is documented in bug 50352 (https://bugs.winehq.org/show_bug.cgi?id=50352). 

TWGS (TradeWars Game Server) supports a maximum of 100 concurrent users. Each user takes 2 sockets along with a dedicated admin user. This mean a minimum of 202 sockets need to be opened in order to support all 100 users + 1 admin.

I’d be in favor of applying this patch over mine to increase the value to 32767 which should resolve this for just about any application. ReactOS already does something similar with it’s socket.c as well (https://github.com/reactos/reactos/search?q=iMaxSockets).


More information about the wine-devel mailing list