Expand description

Naia Client Socket

A Socket abstraction over either a UDP socket on native Linux, or a unreliable WebRTC datachannel on the browser


pub use naia_socket_shared as shared;


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


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