Crate naia_server_socket

Source
Expand description

§Naia Server Socket

Provides an abstraction of a Socket capable of sending/receiving to many clients, using either an underlying UdpSocket or a service that can communicate via unreliable WebRTC datachannels

Re-exports§

pub use naia_socket_shared as shared;

Modules§

executor
Executor for Server

Structs§

ServerAddrs
List of addresses needed to start listening on a ServerSocket
Socket
Socket is able to send and receive messages from remote Clients

Enums§

NaiaServerSocketError
An Error type specifically related to the Naia Server Socket This is under construction and needs to be cleaned up

Traits§

AuthReceiver
Used to receive Auth messages from the Server Socket
AuthSender
PacketReceiver
Used to receive packets from the Server Socket
PacketSender