views:

201

answers:

2

Hello,

Which .NET namespaces should I be looking at if I'd like to start writing a very simple chat application (in C#)?

Please let me know if there's a way that I can clarify or expand on this to make it a more precise question.

Thanks,

Adam

A: 

For just the basic functionality:

System.Net
System.Net.Sockets

The TcpClient class will be your friend.

TcpClient

If you are going to do advanced things like file transfers:

System.IO

John Gietzen
A: 

Your going to need to look at System.Net, System.Net.Sockets, and System.Threading. To get a basic idea of how to send messages through TCP connections please refer to the following url: Simple Threaded TCP Server

Cris McLaughlin