Changed packet size to protocol specified size

This commit is contained in:
CosminPerRam 2022-11-15 17:20:01 +02:00
parent ac9d385fb6
commit d3b71fccf6

View file

@ -143,7 +143,7 @@ struct ValveProtocol {
complete_address: String
}
static DEFAULT_PACKET_SIZE: usize = 2048;
static DEFAULT_PACKET_SIZE: usize = 1400;
impl ValveProtocol {
fn new(address: &str, port: u16) -> GDResult<Self> {