1
0
mirror of https://github.com/actix/examples synced 2024-11-28 00:12:57 +01:00
examples/udp-echo
2020-09-10 21:34:32 +01:00
..
src Add tiny_template as an example. (#358) 2020-09-10 21:34:32 +01:00
Cargo.toml Update udp-echo example to actix 0.9 and tokio 0.2. (#336) 2020-06-25 05:19:22 +01:00
README.md udp echo server example 2019-02-20 22:21:59 +05:00

udp-echo

Usage

server

cd examples/udp-echo
cargo run
# Started http server: 127.0.0.1:12345

socat client

Copy port provided in server output and run following command to communicate with the udp server:

socat - UDP4:localhost:12345