[−][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
Config | A Config object required to initialize a given Server/Client Socket |
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 |
SocketEvent | An Event that can be emitted by the Server Socket |
Functions
find_my_ip_address | Given an IPv4 Address, attempt to find an available port on the current host |
Type Definitions
ServerSocket | ServerSocket is an alias for a socket abstraction using either UDP or WebRTC for communications |