1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00
examples/other/udp-echo
2021-02-26 00:57:58 +00:00
..
src Restructure folders (#411) 2021-02-26 00:57:58 +00:00
Cargo.toml Restructure folders (#411) 2021-02-26 00:57:58 +00:00
README.md Restructure folders (#411) 2021-02-26 00:57:58 +00: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