Invalidates an instance of a Network Service monitor object.
- iOS 2.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
CFNetServiceMonitor to invalidate; cannot be
This function invalidates the specified Network Service monitor so that it cannot be used again. Before you call this function, you should call
CFNetServiceMonitorStop. If the monitor has not already been stopped, this function stops the monitor for you.
This function is thread safe.
Record type specifier used to tell a service monitor the type of record changes to watch for.
A structure provided when a CFNetService is associated with a callback function or when a CFNetServiceBrowser is created.
Error codes that may be returned by CFNetServices functions or passed to CFNetServices callback functions.
Associates a callback function with a CFNetService or disassociates a callback function from a CFNetService.