BBS: TELESC.NET.BR Assunto: src/xpdev/sockwrap.c De: Rob Swindell (on Windows 11) Data: Mon, 2 Mar 2026 22:42:57 -0800 ----------------------------------------------------------- https://gitlab.synchro.net/main/sbbs/-/commit/2773f92cddcec6b459d6a17b Modified Files: src/xpdev/sockwrap.c Log Message: nonblocking_connect() must return non-zero upon failure to connect on Windows, after the call to the socket_writable() timed out (failed) calling getsockopt(... SO_ERROR ...) was setting the result to 0, indicating a successful connection. So if getsockopt() reports the socket errno value is 0, don't use that value for the result, default to ETIMEDOUT (60) instead. n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]