Function

nw_udp_options_set_prefer_no_checksum

Configures the connection to not send UDP checksums.

Declaration

void nw_udp_options_set_prefer_no_checksum(nw_protocol_options_t options, bool prefer_no_checksum);

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.