Commit 4a481c85 authored by Pieter Hintjens's avatar Pieter Hintjens

Problem: socket limit is still 4K on Windows

Solution: fix in CMakeLists.txt (already fixed in builds/msvc)
parent df6876ab
......@@ -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 ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment