1DNSServiceProcessResuDlNtS(3SDeNrSv_iScDe)Discovery LibraDrNySSFeurnvcitcieoPnrsocessResult(3DNS_SD)
2
3
4
6 DNSServiceProcessResult - process results and invoke callback
7
9 cc [ flag ... ] file ... -ldns_sd [ library ... ]
10 #include <dns_sd.h>
11
12 DNSServiceErrorType DNSServiceProcessResult (DNSServiceRef sdRef);
13
14
16 The DNSServiceProcessResult() call reads the returned results from the
17 mDNS daemon and invokes the specified application callback. The sdRef
18 points to a DNSServiceRef initialized by any of the DNSService calls
19 that take a callback parameter. The DNSServiceProcessResult() call
20 blocks until data is received from the mDNS daemon. The application is
21 responsible for ensuring that DNSServiceProcessResult() is called when‐
22 ever there is a reply from the daemon. The daemon may terminate its
23 connection with a client that does not process the daemon's responses.
24
26 The DNSServiceProcessResult() call returns kDNSServiceErr_NoError on
27 success. Otherwise, an error code defined in <dns_sd.h> is returned to
28 indicate the specific failure that has occurred.
29
31 See attributes(5) for description of the following attributes:
32
33
34
35
36 ┌─────────────────────────────┬─────────────────────────────┐
37 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
38 ├─────────────────────────────┼─────────────────────────────┤
39 │Interface Stability │Committed │
40 ├─────────────────────────────┼─────────────────────────────┤
41 │MT-Level │Safe │
42 └─────────────────────────────┴─────────────────────────────┘
43
45 DNSServiceBrowse(3DNS_SD), DNSServiceRegister(3DNS_SD), attributes(5)
46
47
48
49SunOS 5.11 20 Aug 2007 DNSServiceProcessResult(3DNS_SD)