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§
- Client
- A Client connection.
- MsgTable
- A type for collecting the parts needed to send a struct over the network.
- MsgTable
Parts - The useful parts of the
MsgTable(orSortedMsgTable). - Option
Pending Client - An optional version of the
PendingClient. - Pending
Client - A client that has started connecting, but might not have finished connecting.
- Server
- A server.
- Sorted
MsgTable - 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§
- MsgReg
Error - The possible errors when registering a type.