You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
821 B
821 B
P2P_Project
Introduction
This application has two versions.
- Console version
- GUI version
You can use any of them up to your choice.
Run
Console Version
Go the source code directory, run ServerMain.java and ClientMain.java
Commands:
i Get the information of the peer
r <filename> Register a resource with filename (File need to be in res folder)
l <hash> Lookup a resouce with hash
d <hash> Download a file with hash
GUI Version
Go to artifacts directory, run the jar file in ClientGUI_jar and ServerGUI_jar
java -jar P2P_Project.jar
PLEASE USE JAVA 1.8 because of JavaFX or you can use Console Version
- Start the server by hitting the start button
- Start the peer by hitting the connect button
- Start register files or download files