File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 22/*
33 * %CopyrightBegin%
44 *
5- * Copyright Ericsson AB 1998-2021. All Rights Reserved.
5+ * SPDX-License-Identifier: Apache-2.0
6+ *
7+ * Copyright Ericsson AB 1998-2025. All Rights Reserved.
68 *
79 * Licensed under the Apache License, Version 2.0 (the "License");
810 * you may not use this file except in compliance with the License.
2830#ifdef __WIN32__
2931#define NO_SYSCONF
3032#define NO_DAEMON
33+
34+ /*
35+ * Increase FD_SETSIZE from 64 to 1024 by defining it before including
36+ * <winsock2.h>.
37+ *
38+ * https://learn.microsoft.com/en-us/windows/win32/winsock/maximum-number-of-sockets-supported-2
39+ */
40+ #define FD_SETSIZE 1024
41+
3142#endif
3243
3344/* ************************************************************************ */
You can’t perform that action at this time.
0 commit comments