7

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?

brovar
  • 811
  • 4
  • 10
  • 25
  • 1
    Perhaps you can link us to the articles that make you mad? Some people may possibly attempt to answer your question from scratch - at least give them a head-start. – Mike Atlas Mar 22 '10 at 22:14
  • Ok, I'll look them up when I get home. – brovar Mar 23 '10 at 08:29

1 Answers1

7

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
  • 155,851
  • 29
  • 291
  • 343