useMinimumMTU
TypeScriptget useMinimumMTU(): booleanSwift declarationvar useMinimumMTU: Bool { get set }Configure IP to use the minimum MTU value, which is 1280 bytes for IPv6 (IPV6_USE_MIN_MTU). This value has no effect for IPv4.
class · iOS 12.0+ · SDK 27.1
class Optionsget useMinimumMTU(): booleanSwift declarationvar useMinimumMTU: Bool { get set }Configure IP to use the minimum MTU value, which is 1280 bytes for IPv6 (IPV6_USE_MIN_MTU). This value has no effect for IPv4.
set useMinimumMTU(value: boolean)Swift declarationvar useMinimumMTU: Bool { get set }Configure IP to use the minimum MTU value, which is 1280 bytes for IPv6 (IPV6_USE_MIN_MTU). This value has no effect for IPv4.
get disableFragmentation(): booleanSwift declarationvar disableFragmentation: Bool { get set }Configure IP to disable fragmentation on outgoing packets.
set disableFragmentation(value: boolean)Swift declarationvar disableFragmentation: Bool { get set }Configure IP to disable fragmentation on outgoing packets.
get localAddressPreference(): NWProtocolIP_Options_AddressPreferenceSwift declarationvar localAddressPreference: NWProtocolIP.Options.AddressPreference { get set }Specify a preference for how to select local addresses for outbound connections.
set localAddressPreference(value: NWProtocolIP_Options_AddressPreference)Swift declarationvar localAddressPreference: NWProtocolIP.Options.AddressPreference { get set }Specify a preference for how to select local addresses for outbound connections.
get disableMulticastLoopback(): booleanSwift declarationvar disableMulticastLoopback: Bool { get set }By default, a multicast packet sent to a group to which the sending host itself belongs will be looped back for local delivery. `disableMulticastLoopback`disables this behavior and, if set, multicast packets will not be looped back to the sender. Only applies to multicast packets.
set disableMulticastLoopback(value: boolean)Swift declarationvar disableMulticastLoopback: Bool { get set }By default, a multicast packet sent to a group to which the sending host itself belongs will be looped back for local delivery. `disableMulticastLoopback`disables this behavior and, if set, multicast packets will not be looped back to the sender. Only applies to multicast packets.
get shouldCalculateReceiveTime(): booleanSwift declarationvar shouldCalculateReceiveTime: Bool { get set }Configure IP to calculate receive time for inbound packets.
set shouldCalculateReceiveTime(value: boolean)Swift declarationvar shouldCalculateReceiveTime: Bool { get set }Configure IP to calculate receive time for inbound packets.
get version(): NWProtocolIP_Options_VersionSwift declarationvar version: NWProtocolIP.Options.Version { get set }Specify a single version of the Internet NWProtocol to allow. Setting this value will constrain which address endpoints can be used, and will filter DNS results during connection establishment.
set version(value: NWProtocolIP_Options_Version)Swift declarationvar version: NWProtocolIP.Options.Version { get set }Specify a single version of the Internet NWProtocol to allow. Setting this value will constrain which address endpoints can be used, and will filter DNS results during connection establishment.
get hopLimit(): numberSwift declarationvar hopLimit: UInt8 { get set }Configure the IP hop limit, equivalent to IP_TTL for IPv4 and IPV6_HOPLIMIT for IPv6.
set hopLimit(value: number)Swift declarationvar hopLimit: UInt8 { get set }Configure the IP hop limit, equivalent to IP_TTL for IPv4 and IPV6_HOPLIMIT for IPv6.
No declarations were skipped in this snapshot.