https://bugs.winehq.org/show_bug.cgi?id=40264
--- Comment #4 from sedy noscrubs.net@gmail.com --- (In reply to Bruno Jesus from comment #2)
OSX does not like setting buffers to zero (as it does not make much sense anyway). You can edit wine source to fake success to work around it.
Wine currently ignores low values for RCVBUF, maybe the same could be done to SNDBUF.
Thanks for the incredibly fast response Bruno :)
From the source code comments:
"Disable send buffering on the socket. Setting SO_SNDBUF to 0 causes winsock to stop buffering sends and perform sends directly from our buffers, thereby reducing CPU usage."
I changed the setsockopt buffer for SO_SNDBUF to 1 as a test, and the client can now successfully connect to the server, but it feels incredibly laggy. I'm not really seeing any problems in the logs though.