McdeSys.h: mcde_sys_net_announce()/poll/ready/stop and mcde_sys_net_watch()/poll/next/close with McdeSysService (name, type, host, TXT, port, gone). mdns_avahi.c uses avahi-client with an own AvahiSimplePoll per handle (no thread; the poll call runs one iteration), publishes an entry group while the daemon runs, frees it for the goodbye, browses and resolves NEW services, queues REMOVE, and survives a missing daemon (AVAHI_CLIENT_NO_FAIL, CONNECTING). mdns_netbsd.c does the same with libdns_sd (DNSServiceRegister with a TXTRecordRef, DNSServiceBrowse, DNSServiceResolve per NEW service, poll on DNSServiceRefSockFD then DNSServiceProcessResult); it compiles against the sysroot with -ldns_sd and has not run on NetBSD. mdns_stub.c answers ENOTSUP when the build has no client. configure checks avahi-client/avahi-common on non-NetBSD with AM_CONDITIONAL MCDE_AVAHI. test_netwatch announces _mcde-test._tcp on 4711 with a TXT record, sees it through its own watch (name, TXT, port, address) and stops the announce; against the running avahi-daemon it reports 'announced and seen' and 'goodbye seen', all ok. test_netwatch is a noinst program and a harness entry. In-tree build pending: a foreign release chain holds the lock (pid 141722).