Using UDP Packets
As mentioned earlier in the chapter, there are two kinds of packets commonly used to transmit information on IP networks. The most common type, the TCP packet, is the right choice for nearly all cases because it ensures that the data arrives uncorrupted or else signals an error if there is a problem that cannot be corrected.
The alternative, the UDP packet, is useful for real-time streaming applications. In such applications, if a packet arrives damaged, it does not matter whether the packet could be corrected or retransmitted, because there is no time to do so. The .NET Compact Framework supports the use of UDP packets.
There are other packet types in use today, but only the most advanced network experts are likely to care ...