forked from ryzokuken/cosmoline
Compare commits
1 Commits
593d0a11e7
...
6d3deb9e58
Author | SHA1 | Date |
---|---|---|
mirsal | 6d3deb9e58 |
|
@ -39,6 +39,7 @@ async fn peer_discovery_send(pubkey: Arc<String>) {
|
||||||
loop {
|
loop {
|
||||||
println!("Sending packet: {:?}", &msg);
|
println!("Sending packet: {:?}", &msg);
|
||||||
socket.send_to(&buf, "255.255.255.255:8008").await.unwrap();
|
socket.send_to(&buf, "255.255.255.255:8008").await.unwrap();
|
||||||
|
socket.send_to(&buf, "[FF02::1]:8008").await.unwrap();
|
||||||
task::sleep(std::time::Duration::from_secs(1)).await;
|
task::sleep(std::time::Duration::from_secs(1)).await;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue