#include <DiscoveryClient.hpp>
◆ getServers()
◆ poll()
| void DiscoveryClient::poll |
( |
| ) |
|
◆ refresh()
| void DiscoveryClient::refresh |
( |
bool | clearExisting = false | ) |
|
Immediately send a LAN discovery request.
- Parameters
-
| clearExisting | True when starting a user-requested fresh scan. |
◆ start()
| bool DiscoveryClient::start |
( |
uint16_t | discoveryPort | ) |
|
◆ stop()
| void DiscoveryClient::stop |
( |
| ) |
|
◆ broadcastAddr
| NET_Address* DiscoveryClient::broadcastAddr = nullptr |
|
private |
◆ discoveredServers
| std::unordered_map<std::string, DiscoveredServer> DiscoveryClient::discoveredServers |
|
private |
◆ discoveryPort
| uint16_t DiscoveryClient::discoveryPort = 0 |
|
private |
◆ lastRequestMs
| uint64_t DiscoveryClient::lastRequestMs = 0 |
|
private |
◆ socket
| NET_DatagramSocket* DiscoveryClient::socket = nullptr |
|
private |
◆ subnetBroadcastAddrs
| std::vector<NET_Address*> DiscoveryClient::subnetBroadcastAddrs |
|
private |
The documentation for this class was generated from the following files: