Expand description

carrier-pigeon

A rusty networking library for games.

A simple networking library that handles all the serialization, sending, receiving, and deserialization. This way you can worry about what to send, and pigeon will worry about how to send it.

Examples

Complete examples are provided in the examples/ directory on the GitHub repo.

Re-exports

pub use net::CId;
pub use net::MId;
pub use net::NetError;
pub use net::Transport;

Modules

Networking things that are not specific to either transport.

Structs

A Client connection.

A header to be sent before the actual contents of the packet.

A type for collecting the parts needed to send a struct over the network.

The useful parts of the MsgTable (or SortedMsgTable).

A server.

A type for collecting the parts needed to send a struct over the network.

Enums

The possible errors when registering a type.