mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +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:
parent
df6876abde
commit
4a481c857f
@ -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 ()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user