1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-05 08:25:26 +02:00

Updated about nc and telnet in task.md (#1382)

Updated about `nc` and `telnet` with their documentation link provided
as well
Closes issue #1349
This commit is contained in:
Gourav 2023-10-23 23:40:26 +05:30 committed by GitHub
parent ce27799096
commit ecd2bc863e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,6 +51,8 @@ async fn main() -> io::Result<()> {
Copy this example into your prepared `src/main.rs` and run it from there.
Try connecting to it with a TCP connection tool like [nc](https://www.unix.com/man-page/linux/1/nc/) or [telnet](https://www.unix.com/man-page/linux/1/telnet/).
* Ask students to visualize what the state of the example server would be with a
few connected clients. What tasks exist? What are their Futures?
@ -58,6 +60,6 @@ Copy this example into your prepared `src/main.rs` and run it from there.
closure, but does not take any arguments. Its return value is a Future,
similar to an `async fn`.
* Refactor the async block into a function, and improve the error handling using `?`.
* Refactor the async block into a function, and improve the error handling using `?`.
</details>