repeat the request 10 times, slower
parent
50b668780b
commit
4bd3e5c308
|
@ -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 ();
|
||||
|
|
Loading…
Reference in New Issue