DNS Service Discovery API Reference for C

The DNSServiceDiscovery API is part of Bonjour, Apple's implementation of zero-configuration networking (ZEROCONF).

Bonjour allows you to register a network service, such as a printer or file server, so that it can be found by name or browsed for by service type and domain. Using Bonjour, applications can discover what services are available on the network, along with all necessary access information (such as name, IP address, and port number) for a given service.

Companion document
Bonjour Overview

Functions

DNSServiceAddRecord
  DNSServiceRegisterRecord
DNSServiceBrowse
  DNSServiceRemoveRecord
DNSServiceConstructFullName
  DNSServiceResolve
DNSServiceCreateConnection
  DNSServiceUpdateRecord
DNSServiceEnumerateDomains
  TXTRecordContainsKey
DNSServiceGetAddrInfo
  TXTRecordCreate
DNSServiceGetProperty
  TXTRecordDeallocate
DNSServiceNATPortMappingCreate
  TXTRecordGetBytesPtr
DNSServiceProcessResult
  TXTRecordGetCount
DNSServiceQueryRecord
  TXTRecordGetItemAtIndex
DNSServiceReconfirmRecord
  TXTRecordGetLength
DNSServiceRefDeallocate
  TXTRecordGetValuePtr
DNSServiceRefSockFD
  TXTRecordRemoveValue
DNSServiceRegister
  TXTRecordSetValue

Other References

Header Index
Data Types Index

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.