Contents

CFNetServiceMonitorInvalidate(_:)

Invalidates an instance of a Network Service monitor object.

Declaration

func CFNetServiceMonitorInvalidate(_ monitor: CFNetServiceMonitor)

Parameters

  • monitor:

    CFNetServiceMonitor to invalidate; cannot be NULL.

Discussion

This function invalidates the specified Network Service monitor so that it cannot be used again. Before you call this function, you should call CFNetServiceMonitorStop(_:_:). If the monitor has not already been stopped, this function stops the monitor for you.

Special Considerations

This function is thread safe.

See Also

Network Services