tags:

views:

299

answers:

1

Hi there,

Does anyone have any advice how to write such app? Or maybe knows some nice tutorial? I would like to use System.Net.PeerToPeer namespace, but everything I can find about it is MSDN which I can't read without getting mad. Or maybe using "old-school" TCP/IP would more efficient?

I will appreciate every piece of advice. Every sample code I will shower with gold ;)

And please, don't send me back to Google for I have searched for a long time for sth useful - maybe inaccurately but time is running out and I really need some help.

[edit]
What about the Brunet library? Has anyone used it?

+5  A: 

There is a sample at MSDN that you may find interesting: Peer Channel Chat.

Quote from the page:

The Chat sample demonstrates how to implement a multiparty chat application by using Peer Channel. Messages sent by any instance of a chat application are received by all other instances.

The Chat sample is not based on the concept of client and service. It is a true peer-to-peer application with each instance acting as a peer of other instances. Each instance can send messages to other instances and receive messages from other instances using the IChat duplex contract.

Fredrik Mörk
Thanks, I'll take a look.
brovar