add debug logic
idk whether this should be pushed to prod, maybe the Listening thing but not the client thing, future me to decide lol
This commit is contained in:
parent
bd8f251e7c
commit
20decab8a4
1 changed files with 3 additions and 0 deletions
|
@ -5,7 +5,10 @@ fn main() {
|
||||||
let listener = net::TcpListener::bind("127.0.0.1:8492")
|
let listener = net::TcpListener::bind("127.0.0.1:8492")
|
||||||
.expect("Failed to listen on port 8492");
|
.expect("Failed to listen on port 8492");
|
||||||
|
|
||||||
|
println!("Listening on port 8492");
|
||||||
|
|
||||||
for stream in listener.incoming() {
|
for stream in listener.incoming() {
|
||||||
|
println!("Handling Client");
|
||||||
handle_client();
|
handle_client();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue