discover

actual fun discover(timeout: Int = DISCOVERY_TIMEOUT, maxServers: Int = DISCOVERY_MAX_SERVERS): Flow<ServerDiscoveryInfo>
expect fun discover(timeout: Int = DISCOVERY_TIMEOUT, maxServers: Int = DISCOVERY_MAX_SERVERS): Flow<ServerDiscoveryInfo>

Discover servers on the local network

Parameters

timeout

Timeout per receive in milliseconds

actual fun discover(timeout: Int = DISCOVERY_TIMEOUT, maxServers: Int = DISCOVERY_MAX_SERVERS): Flow<ServerDiscoveryInfo>
actual fun discover(timeout: Int = DISCOVERY_TIMEOUT, maxServers: Int = DISCOVERY_MAX_SERVERS): Flow<ServerDiscoveryInfo>