cc [ flag ... ] file ... –ldns_sd [ library ... ] #include <dns_sd.h> void DNSServiceRefDeallocate (DNSServiceRef sdRef);
The DNSServiceRefDeallocate() call terminates connection to the mDNS daemon. Any services and resource records registered with the DNSServiceRef are de-registered. Any browse or resolve queries initiated using the DNSServiceRef are also terminated.
See attributes(5) for description of the following attributes: