forked from ryzokuken/cosmoline
Compare commits
2 Commits
6d3deb9e58
...
870c27261c
Author | SHA1 | Date |
---|---|---|
mirsal | 870c27261c | |
mirsal | eeefc130ed |
|
@ -39,6 +39,7 @@ async fn peer_discovery_send(pubkey: Arc<String>) {
|
|||
loop {
|
||||
println!("Sending packet: {:?}", &msg);
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue