Creates a CFNetDiagnosticRef from a CFURLRef.
- iOS 2.0–11.0Deprecated
- macOS 10.4–10.13Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–11.0Deprecated
The allocator to use to allocate memory for the new object. Pass
NULLor kCFAllocatorDefault to use the current default allocator.
CFURLRef that refers to the failed connection.
This function uses a URL to create a reference to an instance of a CFNetDiagnostic object. You can pass the reference to
CFNet to open a Network Diagnostics window or to
CFNet to get a description of the connection referenced by
This function is thread safe as long as another thread does not alter the same CFNetDiagnosticRef at the same time.