sometimes, a packet may be bigger due to bad compression
This commit is contained in:
parent
dbae1c6a38
commit
60c3559e08
|
@ -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> {
|
||||||
|
|
Loading…
Reference in a new issue