Schedules a CFNetService on a run loop.
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
The CFNetService that is to be scheduled on a run loop; cannot be
The run loop on which the service is to be scheduled; cannot be
The mode on which to schedule the service; cannot be
Schedules the specified service on a run loop, which places the service in asynchronous mode. The caller is responsible for ensuring that at least one of the run loops on which the service is scheduled is being run.
This function is thread safe.
Before calling this function, call
CFNet to prepare a CFNetService for use in asynchronous mode.