mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +00:00
Changed packet size to protocol specified size
This commit is contained in:
parent
ac9d385fb6
commit
d3b71fccf6
1 changed files with 1 additions and 1 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue