Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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?

Thanks
Posted

1 solution

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
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900