From fd69895d69511850afa8de2394e7816e3b392a51 Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Thu, 5 Oct 2023 13:08:45 +0200 Subject: [PATCH] MAX_CLIENTS increased --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 3a901e7..d052f3f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,7 +4,7 @@ use std::{collections::HashMap, net::UdpSocket, thread}; const CLIENT_TIMEOUT: u32 = 600; const KEEPALIVE: u64 = 10; -const MAX_CLIENTS: usize = 10; +const MAX_CLIENTS: usize = 20; const MY_SPEED: u8 = 30; fn strip_header(msg: &[u8]) -> Vec {