Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 1018 Bytes

README.md

File metadata and controls

36 lines (20 loc) · 1018 Bytes

BitTorrent-Simulator

In this project, we write a P2P file sharing software similar to BitTorrent using Java

TEAM MEMBERS:

BHARATH SHANKAR, UFID: 9841-4098
SHIRIDI SAI PRASAD, UFID: 8073-3499
ROHIT KARUMURI, UFID: 9097-1158

LINK FOR VIDEO:

https://uflorida-my.sharepoint.com/:v:/g/personal/bharathshankar_ufl_edu/EZUWtLq8w_dHk4IXjbLpYMcBhXbkSz3tRaP0cgZQkINjlg?e=KPT8wN

HOW TO RUN:

  1. Navigate to the main folder src that contains the files

  2. Compile the code with the following command on the terminal:

    javac *.java
    
  3. Ensure that the PeerInfo.cfg and Common.cfg files are added.

  4. Navigate to the folder main folder src in 9 terminals

  5. Run the following command in quick succession in the 9 terminals

     java peerProcess <peerID>
    
     Here <peerID> should be from 1001 to 1009 in the 9 terminals
    

Peer 1001 and 1006 will initially have the file

WHAT IS RUNNING:

All parts of the program given in the description have been implemented.