fix(rendezvous): update port in server example to match clients

Pull-Request: #3617.
This commit is contained in:
Saddam UWEJAN
2023-03-15 14:35:59 +03:00
committed by GitHub
parent 1b09b8c85c
commit 32598d89d6

View File

@ -72,7 +72,7 @@ async fn main() {
log::info!("Local peer id: {}", swarm.local_peer_id());
let _ = swarm.listen_on("/ip4/0.0.0.0/tcp/0".parse().unwrap());
let _ = swarm.listen_on("/ip4/0.0.0.0/tcp/62649".parse().unwrap());
while let Some(event) = swarm.next().await {
match event {