Network · IOS API REFERENCE
UDP
struct · iOS 26.0+ · SDK 27.1
struct UDP
The system definition of the User Datagram Protocol (UDP).
UDP supports sending and receiving datagrams.
Members (2)
method · iOS 26.0+noChecksumPreferred
TypeScriptnoChecksumPreferred(noChecksum: boolean): UDP
Swift declarationfunc noChecksumPreferred(_ noChecksum: Bool) -> UDP
Skip computing checksums when sending UDP packets.
This will only take effect when running over IPv4 (`UDP_NOCKSUM`).
init · iOS 26.0+init
TypeScriptstatic init(): UDP
Swift declarationinit()
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UDP.init(_:)
callback cannot propagate synchronous failure
All Network types →