Checks whether a path can be used by connections.
SDKs
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
- watchOS 5.0+
Framework
- Network
Declaration
nw _path _status _t nw_path_get_status(nw _path _t path);
Checks whether a path can be used by connections.
SDKs
Framework
nw _path _status _t nw_path_get_status(nw _path _t path);
nw _path _status _t
Status values indicating whether a path can be used by connections.