Expand description
UDP discovery fallback for mixed LAN environments.
This module provides a lightweight broadcast path that can coexist with raw L2 discovery. Frames retain the same binary payload format.
Structs§
- Discovery
Drop Counters - Discovery
Serve Stats - UdpDiscovery
Config - UDP fallback configuration for discovery broadcast and reply collection.
Constants§
- DEFAULT_
DISCOVERY_ PORT - Default UDP discovery port.
Functions§
- broadcast_
and_ collect - Broadcast a discovery frame over UDP and collect any valid replies with their source addresses.
- respond_
once - Listen for one discovery request and reply with local node resources.
- serve_
discovery - Serve discovery requests and respond with local node resources.
- serve_
discovery_ with_ stats