TechnologiesNetworking & Connectivity

SystemConfiguration

iOSmacOStvOSwatchOSvisionOS

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.

  • Cl
    SCNetworkReachability
    @typedef SCNetworkReachabilityRef
  • St
    SCNetworkReachabilityFlags
    @enum SCNetworkReachabilityFlags
  • St
    SCNetworkReachabilityContext
    @typedef SCNetworkReachabilityContext

Dynamic Store 2

Read, write, and watch live values in the system's dynamic network configuration store.

  • Cl
    SCDynamicStore
    @typedef SCDynamicStoreRef
  • St
    SCDynamicStoreContext
    @typedef SCDynamicStoreContext

Network Configuration Model 5

Model the configured network stack through interfaces, protocols, services, and sets.

  • Cl
    SCNetworkInterface
    @typedef SCNetworkInterfaceRef
  • Cl
    SCNetworkProtocol
    @typedef SCNetworkProtocolRef
  • Cl
    SCNetworkService
    @typedef SCNetworkServiceRef
  • Cl
    SCNetworkSet
    @typedef SCNetworkSetRef
  • Cl
    SCBondStatus
    @typedef SCBondStatusRef

Network Connections 4

Establish and monitor active network links and track their status.

  • Cl
    SCNetworkConnection
    @typedef SCNetworkConnectionRef
  • St
    SCNetworkConnectionContext
    @typedef SCNetworkConnectionContext
  • En
    SCNetworkConnectionStatus
    @enum SCNetworkConnectionStatus
  • En
    SCNetworkConnectionPPPStatus
    @enum SCNetworkConnectionPPPStatus

Stored Preferences 3

Persist configuration settings and respond to notifications when they change.

  • Cl
    SCPreferences
    @typedef SCPreferencesRef
  • St
    SCPreferencesContext
    @typedef SCPreferencesContext
  • St
    SCPreferencesNotification
    @enum SCPreferencesNotification

Type Aliases 7

  • Ty
    SCDynamicStoreCallBack
    @typedef SCDynamicStoreCallBack
  • Ty
    SCNetworkConnectionFlags
  • Ty
    SCBondInterface
    @typedef SCBondInterfaceRef
  • Ty
    SCVLANInterface
    @typedef SCVLANInterfaceRef
  • Ty
    SCNetworkConnectionCallBack
    @typedef SCNetworkConnectionCallBack
  • Ty
    SCNetworkReachabilityCallBack
    @typedef SCNetworkReachabilityCallBack
  • Ty
    SCPreferencesCallBack
    @typedef SCPreferencesCallBack
← Networking & Connectivity