Peer-to-Peer with Centralized Index (P2P-CI) System for Downloading RFCs
Refer to Project guidelines to get the project guidelines
- Git clone the repo or unzip the zip folder for the code
- Make sure to update the "CLIENT_ADD" and "SERVER_ADD" in "server.py" and "client.py" according to the machine on which they are being run.
- Open Terminal (or command prompt) and browse to the location of the above unzipped contents (where server.py and client.py are stored)
- Run the "server.py" script by using the command "python server.py" (Make sure Python3 is installed on your machine)
- Open another terminal (or command prompt) and run the "client.py" script using the command "python client.py"
- Now, you can follow the client terminal to execute different functions of the program.
- Repeat steps 5 on another machine to test for multiple clients (Make sure to update the IP addresses in the new machine)