MAX_CLIENTS increased

This commit is contained in:
Martin Brodbeck 2023-10-05 13:08:45 +02:00
parent e303e7ce49
commit fd69895d69

View file

@ -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<u8> {