From d7bbea3cfe480f6343f05bee16f9698dae9a67d8 Mon Sep 17 00:00:00 2001 From: minhtrannhat Date: Mon, 10 Jul 2023 10:58:59 -0400 Subject: [PATCH] Plan: Add user-specified Telnet port --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 1cd7c2b..6a6dc67 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,6 +16,7 @@ async fn main() -> Result<(), Report> { let ip_address = local_ip().unwrap(); // Set up a TCP listener to listen for incoming tcp requests at the ip address that is passed from the command line + // TODO: Custom ports let listener = TcpListener::bind(format!("{ip_address}:8080")).await.unwrap(); debug!("{}", format!("Bounded to {ip_address} port 8080"));