Skip to main content

scan

Function scan 

Source
pub async fn scan(
    config: &AppConfig,
    identity: &TlsIdentity,
    options: &ScanOptions,
) -> Result<Vec<DiscoveredPeer>, Error>
Expand description

Handles the lanflare scan command.

Spins up dual discovery engines (Multicast UDP and mDNS), listens for announcements, aggregates them in PeerRegistry, and displays a formatted table of active peers.