[][src]Crate naia_server_socket

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

Structs

LinkConditionerConfig

Contains configuration required to initialize a LinkConditioner

MessageSender

Handles sending messages to a Client that has established a connection with the Server socket

Packet

A Packet that can be sent to a Client

Enums

NaiaServerSocketError

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

Traits

ServerSocketTrait

Defines the functionality of a Naia Server Socket

Functions

find_my_ip_address

Helper method to find local IP address, if possible

Type Definitions

ServerSocket

ServerSocket is an alias for a socket abstraction using either UDP or WebRTC for communications