Go to main content

man pages section 3: Networking Library Functions

Exit Print View

Updated: July 2017
 
 

DNSServiceRefDeallocate(3DNS_SD)

Name

DNSServiceRefDeallocate - close connection

Synopsis

cc [ flag ... ] file ... –ldns_sd [ library ... ]
#include <dns_sd.h>

void DNSServiceRefDeallocate (DNSServiceRef sdRef);

Description

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.

Attributes

See attributes(5) for description of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
Safe

See Also

DNSServiceBrowse(3DNS_SD), DNSServiceRegister(3DNS_SD), attributes(5)