From 5914104002a0017b3fd82b5a435cd249b43143a7 Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Thu, 5 Oct 2023 21:17:04 +0200 Subject: [PATCH] debug message added --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.rs b/src/main.rs index d052f3f..b33f9eb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -117,6 +117,9 @@ fn broadcast( if rec.0 == client { continue; } + + debug!("Broadcasting to client {}", rec.0); + socket.send_to(&data, &rec.0).unwrap(); } }