mirror of
https://github.com/italicsjenga/fh5-telemetry-watcher.git
synced 2024-12-23 14:11:33 +11:00
tell which port is listening
This commit is contained in:
parent
6bf4136ad8
commit
f38c03ce0f
|
@ -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"));
|
||||
|
|
Loading…
Reference in a new issue