discover

fun discover(beaconPort: Int = Beacons.PORT, requireCode: Boolean = false): Promise<Int>

Federates the cluster with the clusters of the local network that discover the others as well, as they come (see Beacons): it listens (on an ephemeral port, if it did not already), and its beacons go to beaconPort. With requireCode (see requiresCode), the clusters heard are nearby alone, linked to once paired by hand (pair), and linked again with no code from then on. The port it listens on, once its beacons start.