Hello,
Please find a patch attached to add the SIO_UDP_NETRESET flag, which is now
needed by OpenSSL 3.5.5
Regards,
From d3b5af66b9f0f4e76fd376b7814d46fb52e81af8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= <[email protected]>
Date: Tue, 27 Jan 2026 15:45:47 +0100
Subject: [PATCH] mswsock: add SIO_UDP_NETRESET
---
mingw-w64-headers/include/mswsock.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/mingw-w64-headers/include/mswsock.h b/mingw-w64-headers/include/mswsock.h
index c9532716d..c1f8582e5 100644
--- a/mingw-w64-headers/include/mswsock.h
+++ b/mingw-w64-headers/include/mswsock.h
@@ -36,6 +36,7 @@ extern "C" {
#define TCP_BSDURGENT 0x7000
#define SIO_UDP_CONNRESET _WSAIOW(IOC_VENDOR,12)
+#define SIO_UDP_NETRESET _WSAIOW(IOC_VENDOR,15)
#if (_WIN32_WINNT < 0x0600) && (_WIN32_WINNT >= 0x0501)
#define SIO_SOCKET_CLOSE_NOTIFY _WSAIOW(IOC_VENDOR,13)
#endif /* >= XP && < VISTA */
--
2.43.0
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public