Click here to Skip to main content
11,927,156 members (50,345 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# WCF peer-to-peer
Hi there,
I am trying to implement a Peer To Peer software for file sharing..
Now,I am really confused.The algorithm has these steps :
1: One of the peers should send a file address of its own directory to another peer
2: The other client or Peer receives the file Address and download it.

So,I do not know,how should i implement it.
My question has 2 aspects:
1: How should i get a particular file's address of a specified Peer? (This is more important)
2: How does another peer can download that file?

Posted 22-Mar-13 12:40pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I got the Solution,I found the solution. First i should have a complete knowledge about WCF and i should be able to call on of that WCF service from another application. Then i should have a good experience and awareness about P2P and its details such as PNRP,PEER,Cloud and they way that peers connect to other peers. This application is wholly different with other Chat application which have been written as P2P files and you can find a lot of samples in CodeProject as well.Therefor when you can connect to application and resolve other peers and their HostName, you will be able to call the method who give you destination machine's file a binary data.
Thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web04 | 2.8.151126.1 | Last Updated 16 Apr 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100