1
0

changing port

This commit is contained in:
midefos 2024-05-21 00:21:11 +02:00
parent 8237b3f8f4
commit 8a6021aa83

View File

@ -3,8 +3,8 @@ use std::net::{TcpListener, TcpStream};
use std::thread;
pub fn start_tcp_command_server() {
let listener = TcpListener::bind("127.0.0.1:9632").unwrap();
println!("listening on port 9632 for tcp commands");
let listener = TcpListener::bind("127.0.0.1:9999").unwrap();
println!("listening on port 9999 for tcp commands");
for stream in listener.incoming() {
match stream {