Uses an address to create an instance of a host object.
- iOS 2.0+
- macOS 10.3+
- Mac Catalyst 13.0+
- tvOS 9.0+
The allocator to use to allocate memory for the new object. Pass
NULLor kCFAllocatorDefault to use the current default allocator.
A CFDataRef object containing a
sockaddrstructure for the address of the host. This value must not be
A valid CFHostRef object that can be resolved, or
NULL if the host could not be created. Ownership follows the The Create Rule.
CFHost to resolve the return object’s name and reachability information.
This function is thread safe.