How to create a P2P Chat Protocol?

MoPraL

Newcomer
Joined
Aug 28, 2004
Messages
16
Hi all,

I'm a C# Coder but i've never used the Sockets. And i want to create an application which will be a peer-to-peer chat. And to do it, i want to use/create my own protocol!
But i want to know how to begin, i've never used a Sockets Architecture so if you have some advices for me i will read them!

Thanks a lot.
 
I would start by looking at the TCP Helper classes in the System.Net; and System.Net.Sockets; This will get you started. Also note that you will have to set up each client app as a server and client.

Another option is to look at DirectX, and the DirectPlay libraries, from here you have the tools to create a full peer to peer system, the libraries also control the threading and memory for the connections. The other thing is that you can build up the packets as needed, and I have found that it is esier to customize the packets to perform different functions.
 
Back
Top