Monday, May 17, 2010

A SIMPLE CHAT PROGRAM

Here are my simple console based UDP client and server programs.  Click these links to download the Visual C# projects.

UdpClientConsole.zip
UdpServerConsole.zip

This is just a simple example of how to make one program talk to another program.  In this example, the UDP Server program on one computer "listens" for messages from the UDP Client program on another computer.  When you type a message in the UDP Client program and hit return, the message is sent to the UDP Server program.  The job of the UDP Server program is to just send any text message that it gets back to the Client program that sent it, but in upper case letters.  Try it out.

Russ DeWitt

No comments:

Post a Comment