Coder Social home page Coder Social logo

voyagingmk / forwarder Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 3.46 MB

As the name declared, it can establish connection with many clients and one backend server program. It delivers encrypted message between two sides.

License: MIT License

C++ 85.07% C 13.81% CMake 0.06% Objective-C 0.08% JavaScript 0.85% HTML 0.03% Batchfile 0.01% Shell 0.01% C# 0.09%

forwarder's Introduction

INSTALL

cmake

mkdir build

cd build

cmake ..

make

./bin/forwarder

Xcode

mddir xcode_build

cd xcode_build

cmake .. -G Xcode

unity ios

  1. copy all the src files to Assets/Plugins/iOS/ directory.
  2. Open Files->Build Settings->iOS->Build, waiting for the build process
  3. after the xcode project directory built, open it with xcode
  4. choose a Signing Team
  5. copy forwarder's include directory to build/Classes/ directory
  6. append two header search paths: $(SRCROOT)/Classes/include $(SRCROOT)/Classes/include/zlib
  7. enable rtti (TODO)
  8. run the program on your device

centos 6

yum install centos-release-scl-rh yum install devtoolset-3-gcc devtoolset-3-gcc-c++

scl enable devtoolset-3 bash

cmake -DCMAKE_C_COMPILER:FILEPATH=clang -DCMAKE_CXX_COMPILER:FILEPATH=clang++ ..

DEPENDENCIES

spdlog-0.11.0

https://github.com/gabime/spdlog

rapidjson-1.1.0

https://github.com/miloyip/rapidjson

enet-1.3.13

https://github.com/lsalzman/enet

zlib-1.2.8

http://zlib.net/zlib-1.2.8.tar.gz

websocketpp-0.7.0 and no-boost-asio-1.10.8

http://think-async.com/Asio

https://github.com/zaphoyd/websocketpp

pool.h 26 Mar 2015

https://github.com/mdashti/HPDS/blob/master/src/utils/pool.h

https://www.quora.com/What-is-the-most-efficient-memory-pooling-mechanism-used-in-C-or-C%2B%2B-with-an-explanation-about-how-it-works/answer/Mohammad-Dashti?srid=2JGa

aes.h

https://github.com/B-Con/crypto-algorithms

TEST

Docker

docker run --rm -it -v D:\workplace\github\forwarder:/data myubuntu

forwarder's People

Contributors

voyagingmk avatar

Stargazers

 avatar

Watchers

 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.