Giter Site home page Giter Site logo

part2part's Introduction

#Part2Part This is a peer-to-peer application meant to share files with anybody who's connected to the server. Any client running this application will have support for uploading and downloading shared files on the network. It has support for both IPv4, IPv6, but only one of it may be used at a time. ##Dependencies You need the c++14 standard in order to compile and build the server and the client and Internet connectivity. You may install the standard like so:

  • sudo add-apt-repository ppa:ubuntu-toolchain-r/test
  • sudo apt-get update
  • sudo apt-get install g++-4.9 ##Installation Download the project on your machine. After unzip-ing the downloaded file, navigate from the terminal to the unarchived folder and simply run the make command. ##Running the application By default, the make command creates 2 files: server.out and client.out. To start the server, simply run the server.out file (it takes no additional arguments). To start the client. run client.out <server_ip> <listening_port>, where the <listening_port> default value is 1234. An example of installing and running the application is:
  • make - builds the binary files
  • ./server.out - start the server on port 1234
  • ./client.out 127.0.0.1 1234 - connect to localhost on port 1234

After starting the client, the user has access to the following commands:

part2part's People

Contributors

sergiuiacob1 avatar

Watchers

James Cloos 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.