Skip to content

Ahkam95/distributed-content-sharing-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"# distributed-content-sharing-app" compile the project

  1. BootstrapServer.java
  2. DistributedNode.java
  3. Client.java

run below commands from the root

  1. javac bootstrap_server/BootstrapServer.java
  2. javac file_transfering/DistributedNode.java
  3. javac client/Client.java

To run the app,

  1. first run server in a seperate CLI java bootstrap_server.BootstrapServer

  2. Then run 2 sepearate CLI for each node u want to create

    1. java file_transfering.DistributedNode -port= -server=127.0.0.1:55555
    2. java client.Client -node=127.0.0.1:

    if you want to create more nodes just run another 2 CLIs with above commands,

Then follow the instructions in the CLI to Search and Download the files

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages