Function

nw_udp_options_set_prefer_no_checksum(_:_:)

Configures the connection to not send UDP checksums.

Declaration

func nw_udp_options_set_prefer_no_checksum(_ options: nw_protocol_options_t, _ prefer_no_checksum: Bool)

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.