Starts resolution for a host object.
- iOS 2.0+
- macOS 10.3+
- tvOS 9.0+
A value of type
CFHostspecifying the type of information that is to be retrieved. See
CFHostfor possible values.
A pointer to a
CFStreamstructure, that, if an error occurs, is set to the error and the error’s domain. In synchronous mode, the error indicates why resolution failed, and in asynchronous mode, the error indicates why resolution failed to start.
TRUE if the resolution was started (asynchronous mode);
FALSE if another resolution is already in progress for
the or if an error occurred.
This function retrieves the information specified by
info and stores it in the host.
In synchronous mode, this function blocks until the resolution has completed, in which case this function returns
TRUE, until the resolution is stopped by calling
CFHost from another thread, in which case this function returns
FALSE, or until an error occurs.
This function is thread safe.