Skip to content

Implemented a file-sharing system on a peer-to-peer network in which the individual download rates of the peers are adapted according to the bandwidth and traffic balancing. This system closely follows the working of BitTorrent protocol.

Notifications You must be signed in to change notification settings

rod3kartik/PeerToPeerFileDistribution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PeerToPeerFileDistribution

How to run the program

All the files under "src" directory need to be compiled with command:

javac filename

You can execute the individual files with command :

java filename

Entry Point

Entry point for the program is through Peer.java file. Steps to run this file:

javac \src\Peer.java

after compiling, you can run the file with PeerID as an argument. Please check the configuration file "peerInfo.cfg" as peers need to be executed sequentially.

java Peer 1001

About

Implemented a file-sharing system on a peer-to-peer network in which the individual download rates of the peers are adapted according to the bandwidth and traffic balancing. This system closely follows the working of BitTorrent protocol.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages