Platforms to show: All Mac Windows Linux Cross-Platform
SCNetworkReachabilityMBS class
Super class: CFObjectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | SystemConfiguration | MBS MacCF Plugin | 4.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The SCNetworkReachability class allow an application to determine the status of a system's current network configuration and the reachability of a target host. In addition, the reachability can be monitored with a notification being provided when/if the status has changed.
The term "reachable" reflects whether a data packet, sent by an application into the network stack, can be sent to the the target host/address. Please note that there is no guarantee that the data packet will actually be received by the host.
Requires Mac OS X 10.3 or newer.
Subclass of the CFObjectMBS class.
- event Changed(flags as Integer)
- property Flags as Integer
- shared property Error as Integer
- 3 methods
- method CreateWithAddress(ip as string) as boolean
- method CreateWithAddressPair(LocalIP as string, RemoteIP as string) as boolean
- method CreateWithName(name as string) as boolean
- shared method ErrorString(errorcode as Integer) as string
Super class CFObjectMBS
- 5 properties
- property Handle as Integer
- property Hash as Integer
- property Lasterror as Integer
- property Type as Integer
- property TypeDescription as String
- 9 methods
- method close
- method DeepCopy as CFObjectMBS
- method EncodedData as MemoryBlock
- method Equal(o as CFObjectMBS) as boolean
- method ReleaseObject
- method RetainCount as Integer
- method RetainObject
- method XML as CFBinaryDataMBS
- method XMLdata as String
- shared method NewCFObject(handle as Integer) as CFObjectMBS
This class has no sub classes.
Some examples using this class:
The items on this page are in the following plugins: MBS MacCF Plugin.
SCNDistanceConstraintMBS - SCNFloorMBS