Git Product home page Git Product logo

p2p-file-system's Introduction

CECS 327

Course Title: Introduction to Networks and Distributed Computing

Assignment: Peer-to-peer File System

How to run

  1. cd P2P-File-System/Project/out/production/Project
  2. javac -d ./ ../../../src/*.java
  3. java ChordUser {port}

Additional Information

  • In order to add files to the system, they must exist within the working directory of the folder created for {port} in P2P-File-System/Project/out/production/Project/
  • The working directory for any {port} will be created when starting the program correctly with {port}, and it will have a 19-digit integer name (Example for port = 4001)
  • Start another console window or tab and follow the same steps to run, then perform the following commands in the program (where {ip}:{port} is running in another console process):
  1. join {ip} {port}
  2. write {filename.extension}
  3. read {filename.extension} from a different console program (The file will downloaded to that console programs working directory)

p2p-file-system's People

Contributors

stevenmccracken avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.