Enables peer-to-peer link technologies for connections and listeners.
SDKs
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
- watchOS 5.0+
Framework
- Network
Declaration
void nw_parameters_set_include_peer_to_peer(nw _parameters _t parameters, bool include_peer_to_peer);