mirror of
https://github.com/actix/examples
synced 2024-11-28 00:12:57 +01:00
8186a8cfea
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru> Co-authored-by: Altug Sahin <altugsahin@gmail.com> Co-authored-by: Rob Ede <robjtede@icloud.com>
19 lines
270 B
Markdown
19 lines
270 B
Markdown
# udp-echo
|
|
|
|
## Usage
|
|
|
|
### server
|
|
|
|
```bash
|
|
cd other/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:
|
|
```bash
|
|
socat - UDP4:localhost:12345
|
|
```
|