This website has been designed for use with the FireFox browser. Please use FireFox to view this page.
3.0 UDP Client & Server messaging in C# & VB.NET
UDP, or the User Datagram Protocol is a low-latency, high
performance protocol which runs over IP. It is ideal for applications where
performance is more important than quality or integrity. Therefore it is
excellent for Internet Radio, but not good for secure file transfer
applications.
This C# (and VB.NET) program can be used to send simple
messages from computer to computer, using the high performance UDP protocol. To
use this program, run the server program on one computer, note the IP address
of this computer by typing the number written on-screen. Install the client on
a separate computer, type in the server IP address, and a message to send in
the box provided, and press send. You should see the message appear on the
server computer.