Accesses the local IP address and port used for connections and listeners.
SDKs
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
- watchOS 5.0+
Framework
- Network
Declaration
nw _endpoint _t nw_parameters_copy_local_endpoint(nw _parameters _t parameters);