A Simple UDP Application
As discussed in Chapter 3, “C# Network Programming Classes,” UDP is a connectionless protocol. Therefore, the programmer must do only two things to make a server application ready to send or receive UDP p...
Distinguishing UDP Messages
One of the best features of UDP is that it addresses the TCP difficulty of handling messages without honoring their boundaries. UDP preserves the message boundaries of all sent messages. Each ReceiveFrom() method ...
When UDP Goes Bad
While solving the message boundary problem found in TCP communications, UDP introduces some other predicaments that programmers must deal with in UDP programs:
Lost data as a result of how the ReceiveFrom() method work...
A Complete UDP Application
The preceding sections have discussed several characteristics and quirks of UDP and how to program for them. Each sample program demonstrated a particular UDP programming feature. All those examples are well and go...
Summary
This chapter described the functions necessary to send UDP messages across the network to a remote host. To use UDP, the Socket object must use the SocketType.Dgram and ProtocolType.Udp parameters. Once the UDP Socket object is creat...
AJAX popular information C# language guides Windows books and cookbooks
.......
С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.