• Post Reply Bookmark Topic Watch Topic
  • New Topic

Making a P2P server  RSS feed

 
Ed Herrero
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys,

The subject isn't too clear as I don't know how to describe this without going into detail. What I'm trying to do is a software that acts as a P2P server, that when started creates a webpage in the external IP of the given device with some info, info about shared files... And from the given website, how can you set up a root folder or a concrete folder to the given files such as "http://127.0.0.1:1234/test.txt" or "http://127.0.0.1:1234/shared/test.txt"?

Do you know any third party libraries or core ones that are useful for such a task?

Sorry if this question has been covered before but I haven't found any info about it and I'm just starting in P2P-oriented development.
 
Tim Moores
Saloon Keeper
Posts: 3834
80
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sounds more like client/server than P2P, unless I'm missing something.

For Java P2P stuff check out the Apache River project.
 
Ed Herrero
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thinking about it a little bit more yes, it is more client/server than P2P, but they won't share their bandwidth among them to download a file in this case, it is just important the bandwidth of the host, sorry for that.

I'm not that lost in that matter... how could I implement a webapp / homepage in the external's IP of the user + a shared folder or directory which contains the files? Any project or libaries for that or should I just create like a mini-JEE project within the server app?

PS: Thanks a lot for the Apache River project info, didn't know about it, will learn a little more about it.
 
Tim Moores
Saloon Keeper
Posts: 3834
80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do I understand correctly that you wish to start servers on the other clients' machines? That does indeed sound like P2P, but would need to be done by the clients; it's not something you could do.
 
Ed Herrero
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, not that I do it from my main server so I manipulate their machines and run a server on them, but more like they download a developed software that starts a server with a given funcionality, something like SHOUTcast does.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!