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.
王宇洋 44491e3ee9 update-maven 2 years ago
.idea update-maven 2 years ago
Client-META-INF/META-INF first commit 3 years ago
Client_GUI-META-INF/META-INF . 3 years ago
Server-META-INF/META-INF first commit 3 years ago
Server_GUI-META-INF/META-INF . 3 years ago
download comments 3 years ago
res comments 3 years ago
src/main update-maven 2 years ago
target update-maven 2 years ago
.gitignore first commit 3 years ago
P2P_Project.iml update-maven 2 years ago comments 3 years ago
pom.xml update-maven 2 years ago



This application has two versions.

  1. Console version
  2. GUI version

You can use any of them up to your choice.


Console Version

Go the source code directory, run and


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

  1. Start the server by hitting the start button
  2. Start the peer by hitting the connect button
  3. Start register files or download files