Function

CFNetDiagnosticDiagnoseProblemInteractively

Opens a Network Diagnostics window.

Declaration

CFNetDiagnosticStatus CFNetDiagnosticDiagnoseProblemInteractively(CFNetDiagnosticRef details);

Parameters

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.

See Also

Network Diagnostics

CFNetDiagnosticRef

An opaque reference representing a CFNetDiagnostic.

CFNetDiagnosticStatusValues

Constants for diagnostic status values.

Deprecated
CFNetDiagnosticCopyNetworkStatusPassively

Gets a network status value.

Deprecated
CFNetDiagnosticCreateWithStreams

Creates a network diagnostic object from a pair of CFStreams.

Deprecated
CFNetDiagnosticCreateWithURL

Creates a CFNetDiagnosticRef from a CFURLRef.

Deprecated
CFNetDiagnosticSetName

Overrides the displayed application name.

Deprecated