Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The following table describes IPPROTO_UDP Socket Options. See getsockoptand setsockoptfor more information on getting and setting socket options. To enumerate protocols and discover supported properties for each installed protocol, use the WSAEnumProtocolsfunction.

Some socket options require more explanation than these tables can convey; such options contain links to additional pages.

IPPROTO_UDP

Option get/set Optval Type Description

UDP_NOCHECKSUM

both

BOOL

When TRUE, UDP datagrams are sent with the checksum of zero. Required for service providers. If a service provider does not have a mechanism to disable UDP checksum calculation, it may simply store this option without taking any action.

See Also

Concepts

Socket Options