One Logo Pool Ball
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

TypeScript
noChecksumPreferred(noChecksum: boolean): UDP
Swift declaration
func 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

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

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 →