Crate naia_client_socket
source ·Expand description
Naia Client Socket
A Socket abstraction over either a UDP socket on native Linux, or a unreliable WebRTC datachannel on the browser
Re-exports
Structs
Used to receive packets from the Client Socket
Handles receiving messages from the Server through a given Client Socket
Handles sending messages to the Server for a given Client Socket
A client-side socket which communicates with an underlying unordered &
unreliable protocol
Enums
An Error type specifically related to the Naia Client Socket
This is under construction and needs to be cleaned up
The server’s socket address, if it has been found