Skip to main content

run_peer_discovery

Function run_peer_discovery 

pub async fn run_peer_discovery(
    config: MdnsConfig,
    advertised: MdnsAdvertisedGateway,
    registry: MdnsPeerRegistry,
    shutdown_rx: Receiver<bool>,
) -> Result<(), Error>
Expand description

Run the LAN discovery loop until cancelled.