Simple peer-to-peer? for a simple life!

Hi everyone;

I am having problems with setting up my own accross the web peer-to-peer application. I am just looking for a very simple code! inVeryBasic language (Visual BasicBig Smile)

This is going to be a software that allows users to share files when they are online, well something like bittorent. However I want my software to identify the files without having to worry about downloading a file like a Torrent file before it could fo it.

I just want the code to use a specified value for the Mesh ID and share files accross the web with all the other people who are using the software at the same time! That is all to it, VeryBasic, but could somebody help me please?

Thanks

[1018 byte] By [Danvasich?] at [2008-3-7]
# 1
What happened to this simple peer to peer network?!?!!?
Evoluator at 2007-10-2 > top of Msdn Tech,Windows Networking Development,Peer-to-Peer Networking...
# 2

lol

# 3
I assume you are referring to PeerChannel in WCF, not unmanaged p2p SDK.
If this assumption is correct, here's your basic sample (in VB.NET and C#):
http://msdn2.microsoft.com/en-us/library/ms751426.aspx

However, it is worth noting that P2P is not really as simple as ABC, so I would strongly recommend that you grab a good book which has a chapter that explains how to write p2p apps.
I would recommend

http://www.amazon.com/Windows-Communication-Foundation-Unleashed-WCF/dp/0672329484/ref=pd_bbs_sr_3/103-3024305-8379809?ie=UTF8&s=books&qid=1189080685&sr=1-3
and/or

http://www.amazon.com/Pro-WCF-Practical-Microsoft-Implementation/dp/1590597028/ref=sr_1_16/103-3024305-8379809?ie=UTF8&s=books&qid=1189080722&sr=1-16

I have both of these books (and 2 more which do not explain p2p), and I liked them both.

However, the best book to start with (if you have not worked with WCF yet) is
http://www.amazon.com/Microsoft-Windows-Communication-Foundation-Developer/dp/0735623368/ref=pd_bbs_sr_1/103-3024305-8379809?ie=UTF8&s=books&qid=1189080685&sr=1-1

HTH

fafnir at 2007-10-2 > top of Msdn Tech,Windows Networking Development,Peer-to-Peer Networking...
# 4

Nice books

here is a website with p2p aready made but explained line by line,

http://www.codeproject.com/cs/internet/ under networks

enjoy