MAX_CLIENTS increased
This commit is contained in:
parent
e303e7ce49
commit
fd69895d69
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ use std::{collections::HashMap, net::UdpSocket, thread};
|
||||||
|
|
||||||
const CLIENT_TIMEOUT: u32 = 600;
|
const CLIENT_TIMEOUT: u32 = 600;
|
||||||
const KEEPALIVE: u64 = 10;
|
const KEEPALIVE: u64 = 10;
|
||||||
const MAX_CLIENTS: usize = 10;
|
const MAX_CLIENTS: usize = 20;
|
||||||
const MY_SPEED: u8 = 30;
|
const MY_SPEED: u8 = 30;
|
||||||
|
|
||||||
fn strip_header(msg: &[u8]) -> Vec<u8> {
|
fn strip_header(msg: &[u8]) -> Vec<u8> {
|
||||||
|
|
Loading…
Reference in a new issue