summaryrefslogtreecommitdiffstats
path: root/examples/echo-udp.rs
diff options
context:
space:
mode:
authorKartik Singhal <kartiksinghal@gmail.com>2016-11-09 12:10:07 -0500
committerGitHub <noreply@github.com>2016-11-09 12:10:07 -0500
commitbe7992e639736ff9d6d59d0e27ed1c40e71e026c (patch)
tree20564745581dd62c333a1d58ae51cc5ee51e4fcc /examples/echo-udp.rs
parent71baa4967ddd40e2b0a43aaa81f2c8fc3ac93063 (diff)
This works only for IPv4 addresses
Diffstat (limited to 'examples/echo-udp.rs')
-rw-r--r--examples/echo-udp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/echo-udp.rs b/examples/echo-udp.rs
index d8266ea9..0b9004df 100644
--- a/examples/echo-udp.rs
+++ b/examples/echo-udp.rs
@@ -9,7 +9,7 @@
//! and in another terminal you can run:
//!
//! ```sh
-//! $ echo -n "hello" | nc -4u localhost 8080
+//! $ nc -4u localhost 8080
//! ```
//!
//! Each line you type in to the `nc` terminal should be echo'd back to you!