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 d169eb4 commit c6dc32aCopy full SHA for c6dc32a
src/bin/src/systems/lan_pinger.rs
@@ -10,7 +10,7 @@ pub struct LanPinger {
10
}
11
12
impl LanPinger {
13
- pub async fn new() -> Result<Self> {
+ pub async fn new() -> std::io::Result<Self> {
14
const ADDR: Ipv4Addr = Ipv4Addr::new(224, 0, 2, 60); // mojang's UDP multicast address
15
const PORT: u16 = 4445;
16
0 commit comments