Module rak_rs::server

source ·
Expand description

The server implementation of RakNet, allowing you to create a RakNet server. This is the server implementation of RakNet, allowing you to create a RakNet server.

This module provides a Listener struct, which is responsible for listening to connections, and dispatching them to a handler, as well as some other utilities.

Modules§

  • Server events module. Handles things like updating the MOTD for certain connections. This is a notifier channel.

Structs§

  • The main server struct, this is responsible for listening to connections, and dispatching them to a handler.

Enums§

  • This is a helper enum that allows you to pass in a SocketAddr or a &str to the Listener::bind function. This is useful for when you want to bind to a specific address, but you don’t want to parse it yourself.