A Boolean that restricts listeners to only accepting connections from the local link.
SDKs
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
- watchOS 6.0+
- Xcode 10.0+
Framework
- Network
Declaration
final var acceptLocalOnly: Bool { get set }
A Boolean that restricts listeners to only accepting connections from the local link.
SDKs
Framework
final var acceptLocalOnly: Bool { get set }
var multipath Service Type: NWParameters .Multipath Service Type
An option to allow connections to use multipath protocols.
enum NWParameters .Multipath Service Type
Modes in which a connection can support multipath protocols.
var service Class: NWParameters .Service Class
A level of service quality for connections to use.
enum NWParameters .Service Class
Levels of service quality that can be used with a connection.
var allow Fast Open: Bool
A Boolean that enables sending application data with protocol handshakes.
var expired DNSBehavior: NWParameters .Expired DNSBehavior
A behavior that defines how expired DNS answers will be used.
enum NWParameters .Expired DNSBehavior
Options for configuring how expired DNS answers should be used.
var prefer No Proxies: Bool
A Boolean that indicates that connections should ignore proxies when they are enabled on the system.
var include Peer To Peer: Bool
A Boolean that enables peer-to-peer link technologies for connections and listeners.
var allow Local Endpoint Reuse: Bool
A Boolean that allows reusing local addresses and ports across connections.