0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 15:41:05 +08:00

Problem: socket limit is still 4K on Windows

Solution: fix in CMakeLists.txt (already fixed in builds/msvc)
This commit is contained in:
Pieter Hintjens 2016-02-12 16:30:55 +01:00
parent df6876abde
commit 4a481c857f

View File

@ -368,8 +368,8 @@ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/lib)
# platform specifics
if (WIN32)
# Socket limit is 4K (can be raised arbitrarily)
add_definitions (-DFD_SETSIZE=4096)
# Socket limit is 16K (can be raised arbitrarily)
add_definitions (-DFD_SETSIZE=16384)
add_definitions (-D_CRT_SECURE_NO_WARNINGS)
endif ()