• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to write a P2P file sharing application in Java

 
Mahtab Alam
Ranch Hand
Posts: 391
1
Java MySQL Database PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to write a P2P file sharing application using Java.

Everywhere I see , Server and ServerSocket classes . So one will behave as a Server and another one as Client .

But I want to write an application where actually there is no server. Each is a pear client.

Or I have to implement the design using one Server and one Client approach .

Its a P2P file sharing application.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure you can get away entirely without some central resource, at least for registering, even if the later interactions are pure P2P. Something like Apache River may be as close as you can get.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic