SCNetworkReachabilityMBS events

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to SCNetworkReachabilityMBS class.

SCNetworkReachabilityMBS.Changed(flags as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event SystemConfiguration MBS MacCF Plugin 4.2 ✅ Yes ❌ No ❌ No ❌ No
The reachability changed.

useful constants:

kSCNetworkFlagsTransientConnection= 1
kSCNetworkFlagsReachable= 2
kSCNetworkFlagsConnectionRequired= 4
kSCNetworkFlagsConnectionAutomatic= 8
kSCNetworkFlagsInterventionRequired= 5
kSCNetworkFlagsIsLocalAddress= 65536
kSCNetworkFlagsIsDirect= 131072

Flags that indicate whether the specified network
nodename/address is reachable, requires a connection,
requires some user intervention in establishing the
connection, and whether the calling application must
initiate the connection using the (TBD???) API.

kSCNetworkFlagsTransientConnection
This flag indicates that the specified nodename/address can
be reached via a transient (e.g. PPP) connection.

kSCNetworkFlagsReachable
This flag indicates that the specified nodename/address can
be reached using the current network configuration.

kSCNetworkFlagsConnectionRequired
This flag indicates that the specified nodename/address can
be reached using the current network configuration but a
connection must first be established.

As an example, this status would be returned for a dialup
connection that was not currently active but could handle
network traffic for the target system.

kSCNetworkFlagsConnectionAutomatic
This flag indicates that the specified nodename/address can
be reached using the current network configuration but a
connection must first be established. Any traffic directed
to the specified name/address will initiate the connection.

kSCNetworkFlagsInterventionRequired
This flag indicates that the specified nodename/address can
be reached using the current network configuration but a
connection must first be established. In addition, some
form of user intervention will be required to establish
this connection (e.g. providing a password, authentication
token, etc.).

kSCNetworkFlagsIsLocalAddress
This flag indicates that the specified nodename/address
is one associated with a network interface on the current
system.

kSCNetworkFlagsIsDirect
This flag indicates that network traffic to the specified
nodename/address will not go through a gateway but is routed
directly to one of the interfaces in the system.

The items on this page are in the following plugins: MBS MacCF Plugin.


💬 Ask a question or report a problem