Crate uflow

source · []
Expand description

uflow is a connection-based layer over UDP that provides a loss-tolerant packet streaming interface, designed primarily for use in real-time, multiplayer games. It manages connection state, congestion control, sequencing, and packet fragmentation to produce a simple and robust data link for real-time applications.

Creating a Connection

Sending Data

Closing a Connection

Structs

A polling-based socket object which manages outbound uflow connections.

Parameters used to configure either endpoint of a uflow connection.

An object representing a connection to a remote host.

A polling-based socket object which manages inbound uflow connections.

Enums

An event produced by a Peer object.

A mode with which a user packet is sent.

Constants

The maximum transfer unit (MTU) of the internet.

The maximum number of channels which may be used on a given connection.

The maximum size of a packet fragment in bytes, according to frame serialization overhead.

The maximum size of a uflow frame in bytes, according to the internet MTU (1500 bytes) and UDP header size (28 bytes).

The absolute maximum size of a packet, in bytes.

The current protocol version ID.

The number of header bytes of a UDP packet (including the IP header).