broadcast on whole network and allow setting a callback for beacons.