increase buffer size

sometimes, a packet may be bigger due to bad compression
This commit is contained in:
Vinzenz Schroeter 2025-05-02 15:54:55 +02:00
parent 48bfa2cb2d
commit 2c40ec0ab1

View file

@ -10,7 +10,7 @@ use std::{
}; };
use winit::event_loop::EventLoopProxy; use winit::event_loop::EventLoopProxy;
const BUF_SIZE: usize = 8985; const BUF_SIZE: usize = 8985 * 2;
#[derive(Debug)] #[derive(Debug)]
pub struct UdpServer<'t> { pub struct UdpServer<'t> {