sudo apt install openssl libssl-dev
- Run
make
in tracker.cpp directory and client.cpp directory. - Run the following command to activate tracker server
./tracker <my_tracker_ip>:<my_tracker_port> <other_tracker_ip>:<other_tracker_port> <seederlist_file>
- Run the following command to activate client server in client directory.
./client <CLIENT_IP>:<UPLOAD_PORT> <TRACKER_IP_1>:<TRACKER_PORT_1> <TRACKER_IP_2>:<TRACKER_PORT_2>
- It share the file over the network and can be accessible through mtorrent file.
share <local_file_path> <filename>.<file_extension>.mtorrent
- It downloads the file mentioned in mtorrent from available seeder.
get <path_to_.mtorrent_file> <destination_path>
- Check which files are Downloaded.
show_downloads
remove <filename.mtorrent>
close