Platforms to show: All Mac Windows Linux Cross-Platform

Back to NWPathMBS class.

NWPathMBS.EffectiveLocalEndPoint as NWEndPointMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacOSX Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Retrieve the local endpoint that is being used, if present.

If this path is the path from an connection, it represents the address that datais sent from.
(Read only property)

Some examples using this property:

NWPathMBS.EffectiveRemoteEndPoint as NWEndPointMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacOSX Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Retrieve the remote endpoint that is being used, if present.

If this path is the path from a connection, it represents the address that data is sent to.
(Read only property)

Some examples using this property:

NWPathMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacOSX Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal object reference.

(Read and Write property)

NWPathMBS.HasDNS as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacOSX Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Checks if the path has a DNS server configuration set.

Returns true if the path has a DNS server configuration set, false otherwise.
(Read only property)

Some examples using this property:

NWPathMBS.HasIPv4 as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacOSX Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Checks if the path uses a network interface that supports IPv4 connectivity.

Returns true if the path uses a network interface that supports IPv4, false otherwise.
(Read only property)

Some examples using this property:

NWPathMBS.HasIPv6 as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacOSX Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Checks if the path uses a network interface that supports IPv6 connectivity.

Returns true if the path uses a network interface that supports IPv6, false otherwise.
(Read only property)

Some examples using this property:

NWPathMBS.IsConstrained as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacOSX Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Checks if the path uses any network interfaces that are considered constrained to the user.

Returns true if the path uses any network interface that is considered constrained, false otherwise.
(Read only property)

Some examples using this property:

NWPathMBS.IsExpensive as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacOSX Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Checks if the path uses any network interfaces that are considered expensive to the user, such as, but not limited to, a cellular network.

Returns true if the path uses any network interface that is considered expensive, false otherwise.
(Read only property)

Some examples using this property:

NWPathMBS.Status as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacOSX Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Retrieves the status of a path.

The status of a specific path object will never change, as the path object itself is static. If there is a network change, the object that generated the path object will generate a new path object.
(Read only property)

NWPathMBS.UnsatisfiedReason as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS MacOSX Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Retrieves a reason the path is not satisfied.

In some cases, the reason helps to determine why the path is not satisfied. While the path may be unsatisfied for morethan one reason, only the first reason will be given. In many cases, the path may be unsatisfied with no reason available.

Returns a reason the path is unsatisfied or kUnsatisfiedReasonNotAvailable if a reason is not available.
(Read only property)

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


The biggest plugin in space...