Crate enet_rs

Source
Expand description

Rust bindings for ENet library, the reliable UDP networking library.

§Installation

Add the following to your Cargo.toml file:

[dependencies]
enet-rs = "1.3.17"

§Full Examples

Full examples, detailing and explaining usage of the basic functionality of the library, can be found in the examples directory.

Modules§

callbacks
enet
header
list
protocol
time
types
utility

Macros§

ENET_BUFFER_MAXIMUM
ENET_DIFFERENCE
ENET_HOST_TO_NET_16
macro that converts host to net byte-order of a 16-bit value
ENET_HOST_TO_NET_32
macro that converts host to net byte-order of a 32-bit value
ENET_MAX
utility.rs
ENET_MIN
ENET_NET_TO_HOST_16
macro that converts net to host byte-order of a 16-bit value
ENET_NET_TO_HOST_32
macro that converts net to host byte-order of a 32-bit value
ENET_SOCKETSET_ADD
ENET_SOCKETSET_CHECK
ENET_SOCKETSET_EMPTY
ENET_SOCKETSET_REMOVE
ENET_TIME_DIFFERENCE
ENET_TIME_GREATER
ENET_TIME_GREATER_EQUAL
ENET_TIME_LESS
ENET_TIME_LESS_EQUAL
ENET_TIME_OVERFLOW
time.rs
ENET_VERSION
ENET_VERSION_CREATE
ENET_VERSION_GET_MAJOR
ENET_VERSION_GET_MINOR
ENET_VERSION_GET_PATCH
enet_list_back
enet_list_begin
enet_list_empty
enet_list_end
enet_list_front
enet_list_next
enet_list_previous