repeat the request 10 times, slower

main
_ 2021-12-05 20:42:56 +00:00
parent 50b668780b
commit 4bd3e5c308
1 changed files with 2 additions and 2 deletions

View File

@ -103,9 +103,9 @@ fn client () -> Result <(), AppError> {
mac: None,
}.to_vec ()?;
for _ in 0..5 {
for _ in 0..10 {
socket.send_to (&msg, (params.multicast_addr, params.server_port))?;
std::thread::sleep (Duration::from_millis (50));
std::thread::sleep (Duration::from_millis (100));
}
let start_time = Instant::now ();