message: Prevent allowing more connections than FD_SETSIZE on Windows
  Return actual FD_SETSIZE instead of hard coded 2048.  This prevents the user from configuring higher -maxconnections than a single fd_set can handle
diff: #include "config/bitcoin-config.h"
  #endif
  +#include "compat.h"
  +
  #include "util.h"
  #include "chainparamsbase.h"
  @@ -711,7 +713,7 @@ bool TruncateFile(FILE *file, unsigned int length)
  int RaiseFileDescriptorLimit(int nMinFD)
  {
  #if defined(WIN32)
  - return 2048;
  + return FD_SETSIZE;
  #else
  struct rlimit limitFD;
  if (getrlimit(RLIMIT_NOFILE, &limitFD) != -1)
  