Plan: Add user-specified Telnet port
This commit is contained in:
		@@ -16,6 +16,7 @@ async fn main() -> Result<(), Report> {
 | 
				
			|||||||
    let ip_address = local_ip().unwrap();
 | 
					    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
 | 
					    // 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();
 | 
					    let listener = TcpListener::bind(format!("{ip_address}:8080")).await.unwrap();
 | 
				
			||||||
    debug!("{}", format!("Bounded to {ip_address} port 8080"));
 | 
					    debug!("{}", format!("Bounded to {ip_address} port 8080"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user