---
title: preferNoChecksum
framework: network
role: symbol
role_heading: Instance Property
path: network/nwprotocoludp/options/prefernochecksum
---

# preferNoChecksum

A Boolean that configures the connection to not send UDP checksums.

## Declaration

```swift
var preferNoChecksum: Bool { get set }
```

## Discussion

Discussion UDP checksums are optional when the datagrams are sent over IPv4. This option configures UDP to not set checksums on these datagrams, but has no effect on IPv6.

## See Also

### Customizing UDP Connections

- [init()](network/nwprotocoludp/options/init().md)
