Crate carrier_pigeon

Crate carrier_pigeon 

Source
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.

§Add carrier-pigeon to your Cargo.toml:

carrier-pigeon = "0.3.0"

§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::Transport;

Modules§

net
Networking things that are not specific to either transport.
tcp
udp

Structs§

Client
A Client connection.
MsgTable
A type for collecting the parts needed to send a struct over the network.
MsgTableParts
The useful parts of the MsgTable (or SortedMsgTable).
OptionPendingClient
An optional version of the PendingClient.
PendingClient
A client that has started connecting, but might not have finished connecting.
Server
A server.
SortedMsgTable
A type for collecting the parts needed to send a struct over the network.
TcpHeader
A header to be sent before the payload on TCP.

Enums§

MsgRegError
The possible errors when registering a type.