increase buffer size
sometimes, a packet may be bigger due to bad compression
This commit is contained in:
parent
48bfa2cb2d
commit
2c40ec0ab1
|
@ -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> {
|
||||
|
|
Loading…
Reference in a new issue