One Logo Pool Ball
Network · IOS API REFERENCE

NWProtocolUDP.Options

class · iOS 12.0+ · SDK 27.1

class Options

Members (3)

get · iOS 12.0+

preferNoChecksum

TypeScript
get preferNoChecksum(): boolean
Swift declaration
var preferNoChecksum: Bool { get set }

Configure UDP to skip computing checksums when sending. This will only take effect when running over IPv4 (UDP_NOCKSUM).

set · iOS 12.0+

preferNoChecksum

TypeScript
set preferNoChecksum(value: boolean)
Swift declaration
var preferNoChecksum: Bool { get set }

Configure UDP to skip computing checksums when sending. This will only take effect when running over IPv4 (UDP_NOCKSUM).

init · iOS 12.0+

init

TypeScript
static init(): NWProtocolUDP_Options
Swift declaration
init()

Create UDP options to set in an NWParameters.ProtocolStack

Skipped declarations

No declarations were skipped in this snapshot.

All Network types →