From 897537e7e9388aa839dec60a53fe2343092a079f Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 8 Aug 2012 16:23:14 +0000 Subject: Had to make FD_SETSIZE much, much larger. It looks like the way to go in the future is using overlapped I/O in windows, and who knows in linux. I believe the select method is always a good fallback, but apparently linux doesn't support posix aio (asynchronous i/o) in the kernel, it emulates it with threads, so who knows what the right choice is right now. --- src/compat/win32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/compat/win32.h b/src/compat/win32.h index c0e7520..512e6d3 100644 --- a/src/compat/win32.h +++ b/src/compat/win32.h @@ -13,7 +13,7 @@ #ifdef __cplusplus extern "C" { -#define FD_SETSIZE 1024 +#define FD_SETSIZE (4096*2) #include #include } -- cgit v1.2.3