Skip to content

Distributed Social Network application implemented in C++. Currently only core functionalities are stable. Work in progress.

Notifications You must be signed in to change notification settings

allanbbs/DistributedSocialNetwork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed Social Network

Authors

  1. Allan Sousa (up201800149@edu.fe.up.pt)
  2. Breno Pimentel (up201800170@edu.fe.up.pt)
  3. Diogo Gomes (up201806572@edu.fe.up.pt)

Prerequisites

How to use

The following command will create the executables in the build folder:

cd build
cmake ..
cmake --build . --target proj2

Usage:

-l,  --local_endpoint       Define the local endpoint
-b,  --bootstrap            Uses this peer as a bootstrap
-be, --bootstrap_endpoint   Define an endpoint to join an existing network

Note Any peer can serve as a bootstrap for another peer when the latter is joining the network, the flag -b means that this peer will start the network by itself.

Usage Example:

To start a bootstrap peer:

./program -l 127.0.0.1 3331 -b

Join the network using the bootstrap endpoint:

./program -l 127.0.0.1 3332 -be 127.0.0.1 3331
  • The video available here also has the examples of usage to test functionality.

About

Distributed Social Network application implemented in C++. Currently only core functionalities are stable. Work in progress.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages