Expand description
Tangled - a work&&-in-progress UDP networking crate.
Structs
A message received from a peer.
Represents a network endpoint. Can be constructed in either host
or client
mode.
Client can only connect to hosts, but they are able to send messages to any other peer connected to the same host, including the host itself.
A value which refers to a specific peer. Peer 0 is always the host.
Per-peer settings. Peers that are connected to the same host, as well as the host itself, should have the same settings.
Enums
Describes possible errors
Possible network events, returned by Peer.recv()
.
Current peer state
Tells how reliable a message is.
Constants
Maximum size of a message which fits into a single datagram.