|
@@ -36,10 +36,10 @@
|
|
|
#define CONNECTION_UDP_BUFFER_SIZE 1
|
|
#define CONNECTION_UDP_BUFFER_SIZE 1
|
|
|
|
|
|
|
|
// maximum number of clients
|
|
// maximum number of clients
|
|
|
-#define DEFAULT_MAX_CLIENTS 4
|
|
|
|
|
|
|
+#define DEFAULT_MAX_CLIENTS 3
|
|
|
|
|
|
|
|
// maximum connections for client
|
|
// maximum connections for client
|
|
|
-#define DEFAULT_MAX_CONNECTIONS_FOR_CLIENT 512
|
|
|
|
|
|
|
+#define DEFAULT_MAX_CONNECTIONS_FOR_CLIENT 256
|
|
|
|
|
|
|
|
// how long after nothing has been received to disconnect a client
|
|
// how long after nothing has been received to disconnect a client
|
|
|
#define CLIENT_DISCONNECT_TIMEOUT 20000
|
|
#define CLIENT_DISCONNECT_TIMEOUT 20000
|