Where to start to build .NET Multiuser Chat Application?
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
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
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
精彩评论