diff options
author | Alex Crichton <alex@alexcrichton.com> | 2017-09-11 08:32:34 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2017-09-11 08:33:09 -0700 |
commit | a611f6ec3043e63be340341cd97d17892ec6513c (patch) | |
tree | 3ec4be1d5e5822f18b8b85a282aa62c8b66f04c3 /examples/echo-udp.rs | |
parent | 5e4cfdfab114e9c1913a98b40746727b4d2cf5a4 (diff) |
Add a UDP mode to the `connect` example
Diffstat (limited to 'examples/echo-udp.rs')
-rw-r--r-- | examples/echo-udp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/echo-udp.rs b/examples/echo-udp.rs index 1dd65ef7..98f879d3 100644 --- a/examples/echo-udp.rs +++ b/examples/echo-udp.rs @@ -6,7 +6,7 @@ //! //! and in another terminal you can run: //! -//! nc -4u localhost 8080 +//! cargo run --example connect -- --udp 127.0.0.1:8080 //! //! Each line you type in to the `nc` terminal should be echo'd back to you! |