When is IPPROTO_UDP required?
Some operating systems (eg. Linux kernel after 2.6.20) support a second protocol for SOCK_DGRAM, called UDP-Lite. If supported by your system, it would be enabled by providing IPPROTO_UDPLITE as the third argument to the socket() call. It is differentiated from normal UDP by allowing checksumming to be applied to only a portion of the datagram. … Read more