共用方式為


IPPROTO_UDP

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

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