summaryrefslogtreecommitdiff
path: root/examples/udp_sync.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/udp_sync.rs')
-rw-r--r--examples/udp_sync.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/udp_sync.rs b/examples/udp_sync.rs
index b33ec35..8187ac0 100644
--- a/examples/udp_sync.rs
+++ b/examples/udp_sync.rs
@@ -1,3 +1,6 @@
+//! Echo example.
+//! Use `nc -u 127.0.0.1 30000` to connect.
+
use std::net::UdpSocket;
fn main() -> std::io::Result<()> {