![]() Un-coalesced messages larger than the option value may still be indicated. The option value represents the maximum message size in bytes for coalesced messages that can be indicated to your application. When set to a non-zero value, multiple received datagrams may be coalesced into a single message buffer before being indicated to your application. UDP_RECV_MAX_COALESCED_SIZE (ws2ipdef.h include ws2tcpip.h) If a service provider does not have a mechanism to disable UDP checksum calculation, it may simply store this option without taking any action. When TRUE, UDP datagrams are sent with the checksum of zero. When TRUE, UDP datagrams are sent with a checksum. To enumerate protocols and discover supported properties for each installed protocol, use the WSAEnumProtocols, WSCEnumProtocols, or WSCEnumProtocols32 function. See the getsockopt and setsockopt function reference pages for more information on getting and setting socket options. The following table describes IPPROTO_UDP socket options that apply to sockets created for the IPv4 and IPv6 address families (AF_INET and AF_INET6) with the protocol parameter to the socket function specified as UDP (IPPROTO_UDP).
0 Comments
Leave a Reply. |