class
ServerDiscoveryAllows to monitor publicly-listed running servers for server listing.
Public static variables
-
static std::
uint16_t DiscoveryPort constexpr - UDP port for server discovery broadcast.
-
static std::
int32_t UniqueIdentifierLength constexpr - Length of server unique identifier.
Constructors, destructors, conversion operators
-
ServerDiscovery(INetworkHandler* server,
std::
uint16_t port) - Creates an instance to advertise a running local server.
- ServerDiscovery(IServerObserver* observer)
- Creates an instance to observe remote servers.
- ~ServerDiscovery()