O'Reilly logo

Microsoft® .NET Compact Framework Kick Start by Ronnie Yates, Erik Rubin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required