Contents

CFNetDiagnosticDiagnoseProblemInteractively(_:)

Opens a Network Diagnostics window.

Declaration

func CFNetDiagnosticDiagnoseProblemInteractively(_ details: CFNetDiagnostic) -> CFNetDiagnosticStatus

Parameters

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.

See Also

Network Diagnostics