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
Modules
Structs
A Client connection.
A type for collecting the parts needed to send a struct over the network.
The useful parts of the MsgTable
(or SortedMsgTable
).
An optional version of the PendingClient
.
A client that has started connecting, but might not have finished connecting.
A server.
A type for collecting the parts needed to send a struct over the network.
A header to be sent before the payload on TCP.
Enums
The possible errors when registering a type.