changing port
This commit is contained in:
parent
8237b3f8f4
commit
8a6021aa83
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user