diff options
| author | zy <[email protected]> | 2023-08-23 04:59:13 +0000 |
|---|---|---|
| committer | zy <[email protected]> | 2023-08-23 04:59:13 +0000 |
| commit | e5038c5b0c1d5ee8026290d22734d79818533eef (patch) | |
| tree | 7435e06eb8f266b616f6d6b4330f504d7b00f7f6 /examples/udp_sync.rs | |
| parent | 086801a8d947fbcd9df43b13ecdd91986ba1b5da (diff) | |
重新 initudp
Diffstat (limited to 'examples/udp_sync.rs')
| -rw-r--r-- | examples/udp_sync.rs | 3 |
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<()> { |
