Compare commits

..

No commits in common. "64676bfd5c39392bdc2cd77c1b851345dfd53fa0" and "2d9cd3eefe4e3837290dc60c9dc53705c2a6d796" have entirely different histories.

View File

@ -13,11 +13,11 @@ fn main() {
match std::io::stdin().read_line(&mut buffer) {
Ok(n) => {
if n == 0 {
break; // Beenden bei EOF
break;
}
println!("Sending {}", buffer);
stream.write(buffer.as_bytes()).unwrap();
println!("Sent {}, awaiting reply ...", buffer);
println!("Sent {}, awaiting reply...", buffer);
}
Err(error) => {
println!("error: {error}");
@ -25,7 +25,7 @@ fn main() {
}
}
}
}
},
Err(e) => {
println!("Failed to connect: {}", e);
}