isReachable

suspend fun isReachable(host: String = "127.0.0.1", port: Int = DEFAULT_NETSIM_HCI_PORT, connectTimeout: Duration = 1.seconds): Boolean

Checks whether an H4 HCI TCP server (such as netsimd --hci-port) is reachable at host:port without issuing an HCI command that would allocate a persistent controller.