This commit is contained in:
dev committed 2026-07-09 22:15:26 +05:30
1 parent 0d9af8f605
commit 3664e70c5d
5 files changed
+54 -40

No files matched your search

+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) => {