Ticket #3254: t3254_increase_max_clients_v1.patch

File t3254_increase_max_clients_v1.patch, 501 bytes (added by elexis, 5 years ago)
  • source/network/NetServer.cpp

     
    3939#include <miniupnpc/upnperrors.h>
    4040#endif
    4141
    4242#define DEFAULT_SERVER_NAME         L"Unnamed Server"
    4343#define DEFAULT_WELCOME_MESSAGE     L"Welcome"
    44 #define MAX_CLIENTS                 8
     44#define MAX_CLIENTS                 10
    4545
    4646static const int CHANNEL_COUNT = 1;
    4747
    4848/**
    4949 * enet_host_service timeout (msecs).