CFNetDiagnosticDiagnoseProblemInteractively(_:)
Opens a Network Diagnostics window.
Declaration
func CFNetDiagnosticDiagnoseProblemInteractively(_ details: CFNetDiagnostic) -> CFNetDiagnosticStatusParameters
- details:
A network diagnostics object, created by Cfnetdiagnosticcreatewithstreams(_:_:_:) or Cfnetdiagnosticcreatewithurl(_:_:), for which the window is to be opened.
Return Value
CFNetDiagnosticNoErr if no error occurred, or CFNetDiagnosticErr if an error occurred that prevented this call from completing successfully.
Discussion
This function opens the Network Diagnostics window and returns immediately once the window is open.
Special Considerations
This function is thread safe as long as another thread does not alter the same CFNetDiagnosticRef at the same time.