From f38c03ce0fff4033844083f00fbc5c1bbd0790bd Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Wed, 23 Feb 2022 15:30:49 +1100 Subject: [PATCH] tell which port is listening --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index ee1f552..f872543 100644 --- a/src/main.rs +++ b/src/main.rs @@ -165,6 +165,7 @@ fn main() { fs::create_dir_all(folder_path).expect("couldnt create log directory!"); let socket = UdpSocket::bind(ip).expect("couldnt bind"); + println!("Listening on port {}", args.port); let mut buf = [0; 500]; let mut writer = csv::Writer::from_writer(tempfile().expect("couldnt open tempfile"));