From 8559770cf3fde90ba61ca01f9041679126aa5fd3 Mon Sep 17 00:00:00 2001 From: Pieter Hintjens Date: Fri, 12 Feb 2016 16:32:07 +0100 Subject: [PATCH] Problem: in builds/gyp, socket limit is 4K on Windows Solution: raise to 16K --- builds/gyp/project.gyp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/builds/gyp/project.gyp b/builds/gyp/project.gyp index 17d0e6d2..ed78fde5 100644 --- a/builds/gyp/project.gyp +++ b/builds/gyp/project.gyp @@ -22,7 +22,9 @@ [ 'OS=="win"', { 'defines': [ 'ZMQ_HAVE_WINDOWS=1', - 'ZMQ_STATIC' + 'ZMQ_STATIC', + 'FD_SETSIZE=16384', + '_CRT_SECURE_NO_WARNINGS' ], 'libraries': [ 'ws2_32',