Associates a callback function with a CFNetService or disassociates a callback function from a CFNetService.
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
The CFNetService; cannot be
The callback function that is to be associated with this CFNetService. If you are shutting down the service, set
NULLto disassociate from this CFNetService the callback function that was previously associated.
Context information to be used when
clientis called; cannot be
TRUE if the client was set; otherwise,
The callback function specified by
client will be called to report IP addresses (in the case of
CFNet) or to report registration errors (in the case of