Giter Site home page Giter Site logo

bibakbox's Introduction

BibakBOX - A Simple Dropbox-like Application

This project aims to implement a simplified version of Dropbox, functioning as a multi-threaded internet server capable of handling multiple clients simultaneously. Upon establishing a connection with the server, the directories on both the server and client sides should be synchronized. This means that any new file created, deleted, or updated on the server should be reflected with the same changes on the client side, and vice versa.

Unlike the official Dropbox service, the server in this case should also maintain a log file under the respective client's directory. This log file should record the names and access times of created, deleted, and updated files. Additionally, handling the SIGINT signal on both the server and client sides is important.

Server Usage

The usage for the server should be as follows:

BibakBOXServer [directory] [threadPoolSize] [portNumber]
  • directory: The server's specific area for file operations.
  • threadPoolSize: The maximum number of threads active at a time.
  • portNumber: The port the server will wait for connections on.

When the server is executed, it should prompt a message to the screen when a client connection is accepted, including the connection address.

Client Usage

The example call from the client might be in the following format:

BibakBOXClient [dirName] [portNumber]
  • dirName: The name of the directory on the server side.
  • portNumber: The connection port of the server.

The client should return with a proper message when the server is stopped and, when a client connection is accepted, the server should prompt a message to the screen including the connection address.

bibakbox's People

Contributors

ddilarakarakas avatar

Watchers

 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.