Stops a search for domains or services.
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
The CFNetServiceBrowser that was used to start the search; cannot be
A pointer to a
CFStreamstructure that will be passed to the callback function associated with this CFNetServiceBrowser (if the search is being conducted in asynchronous mode) or that is pointed to by the
Service Browser Search For Domains
CFNetreturns (if the search is being conducted in synchronous mode). Set the
Service Browser Search For Services
CFStream Error Domain Custom
errorfield to an appropriate value.
This functions stops a search started by a previous call to
CFNet. For asynchronous and synchronous searches, calling this function causes the callback function associated with the CFNetServiceBrowser to be called once for each domain or service found. If the search is asynchronous,
error is passed to the callback function. If the search is synchronous, calling this function causes
CFNet to return
FALSE. If the
error parameter for either call pointed to a
CFStream structure, the
CFStream structure contains the error code and the error code’s domain as set when this function was called.