0x5d / udp-pong-rs

A basic UDP pong server to learn Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

udp-pong-rs

A basic UDP pong server to learn Rust.

I wanted to see what a very basic UDP server looks like in Rust, so I made this. Maybe it would be useful to implement a gossip protocol in Rust? :)

Run it

cargo run <response> <port>
nc -u 127.0.0.1 <port>
# Type something and it will respond with <response>

About

A basic UDP pong server to learn Rust.


Languages

Language:Rust 100.0%