Click here to Skip to main content
Rate this: bad
good
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?
 
Thanks
Posted 22-Mar-13 12:40pm

1 solution

Rate this: bad
good
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
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 299
1 Maciej Los 295
2 Sergey Alexandrovich Kryukov 230
3 Aajmot Sk 191
4 Sinisa Hajnal 166
0 OriginalGriff 7,760
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,785


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 16 Apr 2013
Copyright © CodeProject, 1999-2014
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