1
0
mirror of https://github.com/actix/examples synced 2024-12-18 08:23:10 +01:00
examples/other/udp-echo/README.md

19 lines
270 B
Markdown
Raw Normal View History

2019-02-20 18:21:59 +01:00
# udp-echo
## Usage
### server
```bash
cd other/udp-echo
2019-02-20 18:21:59 +01:00
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:
```bash
socat - UDP4:localhost:12345
```