|
ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
|
Optional mDNS / DNS-SD advertisement (PROTOCORE_ENABLE_MDNS). More...
#include "protocore_config.h"Go to the source code of this file.
Optional mDNS / DNS-SD advertisement (PROTOCORE_ENABLE_MDNS).
Responds for <hostname>.local and advertises an _http._tcp service, with optional TXT records and extra service types.
Two backends, chosen by PROTOCORE_HAS_VENDOR_MDNS. Where the SDK ships a responder the wrapper drives that one, because it also probes and resolves name conflicts. Where it does not, the portable responder answers RFC 6762 / RFC 6763 queries on 224.0.0.251:5353 over the UDP listener: A for the host, PTR for the enumeration name and each service type, and SRV + TXT per instance. It advertises rather than defends - no probing, no conflict resolution - so two devices given the same hostname on one link both answer to it.
Definition in file mdns_service.h.