Forums Register Login

Making a P2P server

+Pie Number of slices to send: Send
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.
1
+Pie Number of slices to send: Send
That sounds more like client/server than P2P, unless I'm missing something.

For Java P2P stuff check out the Apache River project.
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.
You can't expect to wield supreme executive power just because
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1599 times.
Similar Threads
Deployment error in JBoss 5.1.0 GA with EJB3, Oracle 10gXE in Eclipse
Data Center Migration Advice
chat server
RMI Call Works on Same Host, Fails Over Network
JBOSS SocketException PermissionDenied
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 14:23:31.