From 0f534a0d1167368f3840de2af6285d06cf8ad1fd Mon Sep 17 00:00:00 2001 From: Will Greenberg Date: Sat, 2 Dec 2023 10:56:57 -0800 Subject: [PATCH] slightly clearer server comment --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0cca3da..c5d4417 100644 --- a/src/main.rs +++ b/src/main.rs @@ -170,7 +170,8 @@ fn main() -> std::io::Result<()> { } }); - // Accept connections from clients, writing any data received to the diag device + // Accept connections from a client (only one is accepted at a time), + // writing any data received to the diag device loop { println!("Waiting for client"); let (mut client_reader, _) = listener.accept()?;