We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f46df38 commit f9eaa10Copy full SHA for f9eaa10
src/torrust_udp_tracker/mod.rs
@@ -12,5 +12,5 @@ pub type Bytes = u64;
12
pub type Port = u16;
13
pub type TransactionId = i64;
14
15
-pub const MAX_PACKET_SIZE: usize = 0xffff;
+pub const MAX_PACKET_SIZE: usize = 1496;
16
pub const PROTOCOL_ID: i64 = 0x41727101980;
src/torrust_udp_tracker/server.rs
@@ -1,4 +1,3 @@
1
-use std::future::Future;
2
use std::io::Cursor;
3
use std::net::{SocketAddr};
4
use std::sync::Arc;
0 commit comments