mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-17 08:34:00 +00:00
Problem: socket limit is still 4K on Windows
Solution: fix in CMakeLists.txt (already fixed in builds/msvc)
This commit is contained in:
parent
df6876abde
commit
4a481c857f
@ -368,8 +368,8 @@ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/lib)
|
|||||||
# platform specifics
|
# platform specifics
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
# Socket limit is 4K (can be raised arbitrarily)
|
# Socket limit is 16K (can be raised arbitrarily)
|
||||||
add_definitions (-DFD_SETSIZE=4096)
|
add_definitions (-DFD_SETSIZE=16384)
|
||||||
add_definitions (-D_CRT_SECURE_NO_WARNINGS)
|
add_definitions (-D_CRT_SECURE_NO_WARNINGS)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user