increase buffer size
All checks were successful
Rust / build (pull_request) Successful in 6m23s

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 dbae1c6a38
commit 60c3559e08

View file

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