Skip to content

pmak-852/P2P-image-share

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P2P-image-share (COMP2396B OOP & Java Assignment 4)

Intro

This is an image shareing system using P2P protocol. An image will be sliced and shared among all the participants in the network.

Workflow

There are 2 roles, 1. Teacher (server) and 2. Student (client)

Role

Teacher (Server)

  1. choosing the image to share between peers. Peers will update their image through the P2P process when the teacher changes the image.
  2. maintain a full list of active users by performing an active check in every 5 sec

Student (Peer)

  1. Actively ask for image block which they don't have. The number of requests is limited to 5 at any time.
  2. Respond to other peers request. Student will send the image block, if available, to the requestor.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages