OptionalcacheOptionalhostBind address. Default 0.0.0.0; tests use 127.0.0.1.
OptionalnowClock injection forwarded to a freshly created MndpCache.
OptionalonCalled once with the actually-bound port (useful with port: 0).
OptionalportUDP port to bind. Default 5678; pass 0 for an ephemeral test port.
OptionalrefreshRefresh cadence in ms; 0 sends a single refresh. Default 5000.
OptionalreuseEnable SO_REUSEADDR. Default true.
OptionalreuseEnable SO_REUSEPORT for coexistence with other MNDP listeners. Default true except on Windows.
OptionalsendSend the broadcast refresh that prompts replies. Default true.
OptionalsignalAbort the listen early; resolves with whatever was collected so far.
OptionaltimeoutListen window in ms before the listener resolves. Default 15000.
OptionalttlCache TTL in ms, forwarded to a freshly created MndpCache.
Cache to populate; a new one is created when omitted.