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:
Xorycode 2024-04-13 14:31:21 +03:00
parent bd8f251e7c
commit 20decab8a4

View file

@ -5,7 +5,10 @@ fn main() {
let listener = net::TcpListener::bind("127.0.0.1:8492")
.expect("Failed to listen on port 8492");
println!("Listening on port 8492");
for stream in listener.incoming() {
println!("Handling Client");
handle_client();
}