This commit is contained in:
2026-07-09 22:15:26 +05:30
parent 0d9af8f605
commit 3664e70c5d
5 changed files with 54 additions and 40 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ use std::{
fn main() -> DResult<()> {
let address = "0.0.0.0:21367";
let listener = TcpListener::bind(address).map_err(DError::TcpBindError)?;
println!("Listening on {}", address);
println!("Listening for TCP packets at {}", address);
for mut stream in listener.incoming() {
match &mut stream {
Ok(stream) => {