summaryrefslogtreecommitdiffstats
path: root/examples/chat.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-09-11 08:07:38 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-09-11 08:07:38 -0700
commit5e4cfdfab114e9c1913a98b40746727b4d2cf5a4 (patch)
tree5a3bf03b2c3a4fe266260e28501a730a31a721fc /examples/chat.rs
parente0b751b0137fb1cf572e07fa6463f5f984f7e9a7 (diff)
Recommend the `connect` example over `nc`
Diffstat (limited to 'examples/chat.rs')
-rw-r--r--examples/chat.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/chat.rs b/examples/chat.rs
index 0e05c8ad..039fb685 100644
--- a/examples/chat.rs
+++ b/examples/chat.rs
@@ -10,7 +10,7 @@
//!
//! And then in another window run:
//!
-//! nc -4 localhost 8080
+//! cargo run --example connect 127.0.0.1:8080
//!
//! You can run the second command in multiple windows and then chat between the
//! two, seeing the messages from the other client as they're received. For all