cowlicks / libutp-rs

An async rust interface to libutp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libutp-rs

Docs

An async rust interface to libutp.

Examples

A simple ucat implementation is provided in examples/ucat.rs

// Bind to 5000
cargo run --example ucat 127.0.0.1:5000

Listening for connection on 127.0.0.1:5000
Hi!
// Bind to 5001 and connect to 5000
cargo run --example ucat 127.0.0.1:5001 127.0.0.1:5000

Connecting to 127.0.0.1:5000
Hi!

About

An async rust interface to libutp


Languages

Language:Rust 100.0%