SystemConfiguration inspects and manages network reachability, captive networks, and the system's dynamic network configuration store. Use SCNetworkReachability to determine whether a host is reachable and to observe changes through SCNetworkReachabilityFlags, and read or watch live configuration values with SCDynamicStore. The framework also models the configured network stack through types such as SCNetworkInterface, SCNetworkProtocol, SCNetworkService, and SCNetworkSet, and tracks active links with SCNetworkConnection and its SCNetworkConnectionStatus. Persist and respond to changes in stored settings with SCPreferences and SCPreferencesNotification.
Network Reachability 3
Determine whether a host or address is reachable and observe changes in network availability.
- ClSCNetworkReachability@typedef SCNetworkReachabilityRef
- StSCNetworkReachabilityFlags@enum SCNetworkReachabilityFlags
- StSCNetworkReachabilityContext@typedef SCNetworkReachabilityContext
Dynamic Store 2
Read, write, and watch live values in the system's dynamic network configuration store.
- ClSCDynamicStore@typedef SCDynamicStoreRef
- StSCDynamicStoreContext@typedef SCDynamicStoreContext
Network Configuration Model 5
Model the configured network stack through interfaces, protocols, services, and sets.
- ClSCNetworkInterface@typedef SCNetworkInterfaceRef
- ClSCNetworkProtocol@typedef SCNetworkProtocolRef
- ClSCNetworkService@typedef SCNetworkServiceRef
- ClSCNetworkSet@typedef SCNetworkSetRef
- ClSCBondStatus@typedef SCBondStatusRef
Network Connections 4
Establish and monitor active network links and track their status.
- ClSCNetworkConnection@typedef SCNetworkConnectionRef
- StSCNetworkConnectionContext@typedef SCNetworkConnectionContext
- EnSCNetworkConnectionStatus@enum SCNetworkConnectionStatus
- EnSCNetworkConnectionPPPStatus@enum SCNetworkConnectionPPPStatus
Stored Preferences 3
Persist configuration settings and respond to notifications when they change.
- ClSCPreferences@typedef SCPreferencesRef
- StSCPreferencesContext@typedef SCPreferencesContext
- StSCPreferencesNotification@enum SCPreferencesNotification
Type Aliases 7
- TySCDynamicStoreCallBack@typedef SCDynamicStoreCallBack
- TySCNetworkConnectionFlags
- TySCBondInterface@typedef SCBondInterfaceRef
- TySCVLANInterface@typedef SCVLANInterfaceRef
- TySCNetworkConnectionCallBack@typedef SCNetworkConnectionCallBack
- TySCNetworkReachabilityCallBack@typedef SCNetworkReachabilityCallBack
- TySCPreferencesCallBack@typedef SCPreferencesCallBack