diff options
Diffstat (limited to 'examples/echo-udp.rs')
-rw-r--r-- | examples/echo-udp.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/examples/echo-udp.rs b/examples/echo-udp.rs index 0b9004df..23bfbccf 100644 --- a/examples/echo-udp.rs +++ b/examples/echo-udp.rs @@ -2,15 +2,11 @@ //! //! If you're on unix you can test this out by in one terminal executing: //! -//! ```sh -//! $ cargo run --example echo-udp -//! ``` +//! cargo run --example echo-udp //! //! and in another terminal you can run: //! -//! ```sh -//! $ nc -4u localhost 8080 -//! ``` +//! nc -4u localhost 8080 //! //! Each line you type in to the `nc` terminal should be echo'd back to you! |