Expand description
An async interface to libutp.
The main interface of this crate is through the UtpContext
, UtpSocket
and UtpListener
structs.
In addition to this, the wrappers
module exposes the unsafe lower level API that the crate is built on,
which is more in line with the original libutp interface.
CAUTION: Use at your own risk! This crate is a best-effort attempt to provide a safe interface, but FFI is inherently unsafe and I (the author) do not have expert knowledge of unsafe rust nor the libutp codebase.
Modules§
Structs§
- Connect
- A
Future
representing a pending connection - UtpContext
- A UTP context
- UtpListener
- A
Stream
of incoming UTP connections - UtpSocket
- A UTP socket