mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +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
|
complete_address: String
|
||||||
}
|
}
|
||||||
|
|
||||||
static DEFAULT_PACKET_SIZE: usize = 2048;
|
static DEFAULT_PACKET_SIZE: usize = 1400;
|
||||||
|
|
||||||
impl ValveProtocol {
|
impl ValveProtocol {
|
||||||
fn new(address: &str, port: u16) -> GDResult<Self> {
|
fn new(address: &str, port: u16) -> GDResult<Self> {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue