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
Structs
A Packet that can be sent to the Server
Used to receive packets from the 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
A Timer with a given duration after which it will enter into a “Ringing” state. The Timer can be reset at an given time, or manually set to start “Ringing” again.
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