Accesses the type of a endpoint.
SDKs
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
- watchOS 5.0+
Framework
- Network
Declaration
nw _endpoint _type _t nw_endpoint_get_type(nw _endpoint _t endpoint);
Accesses the type of a endpoint.
SDKs
Framework
nw _endpoint _type _t nw_endpoint_get_type(nw _endpoint _t endpoint);
nw _endpoint _type _t
The type of a network endpoint, such as a host or a service.