All Projects → brakmic → ZeroMQ

brakmic / ZeroMQ

Licence: MIT license
🚀 Client/Server & Pub/Sub Examples with ZeroMQ & Boost

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to ZeroMQ

Uchain Fullnode
UChain Cross-Platform C++ Full-Node Wallet Implementation
Stars: ✭ 133 (+303.03%)
Mutual labels:  zeromq, boost
funboost
pip install funboost,python全功能分布式函数调度框架,。支持python所有类型的并发模式和全球一切知名消息队列中间件,python函数加速器,框架包罗万象,一统编程思维,兼容50% python编程业务场景,适用范围广。只需要一行代码即可分布式执行python一切函数。旧名字是function_scheduling_distributed_framework
Stars: ✭ 351 (+963.64%)
Mutual labels:  zeromq
iris
Lightweight Component Model and Messaging Framework based on ØMQ
Stars: ✭ 50 (+51.52%)
Mutual labels:  zeromq
poly collection
Fast containers of polymorphic objects.
Stars: ✭ 58 (+75.76%)
Mutual labels:  boost
boost-reflection
This library provides Java-like Reflection API to C++ language.
Stars: ✭ 16 (-51.52%)
Mutual labels:  boost
SierraChartZorroPlugin
A Zorro broker API plugin for Sierra Chart, written in Win32 C++.
Stars: ✭ 22 (-33.33%)
Mutual labels:  boost
Netmq
A 100% native C# implementation of ZeroMQ for .NET
Stars: ✭ 2,366 (+7069.7%)
Mutual labels:  zeromq
faabric
Messaging and state layer for distributed serverless applications
Stars: ✭ 39 (+18.18%)
Mutual labels:  zeromq
Boost.toml
header-only C++(98|11|14|17) TOML v0.5.0 parser/encoder depending on Boost
Stars: ✭ 26 (-21.21%)
Mutual labels:  boost
Shareaza
Shareaza is a peer-to-peer client for Windows that allows you to download any file-type found on several popular P2P networks.
Stars: ✭ 103 (+212.12%)
Mutual labels:  boost
boost
🚀 A collection of type-safe cross-platform packages for building robust server-side and client-side systems.
Stars: ✭ 97 (+193.94%)
Mutual labels:  boost
developkit set
2021年最新总结,值得推荐的c/c++开源框架与库。持续更新中。
Stars: ✭ 654 (+1881.82%)
Mutual labels:  boost
cpp-code-snippets
Some useful C++ code snippets
Stars: ✭ 35 (+6.06%)
Mutual labels:  boost
OLD-vital-development
No description or website provided.
Stars: ✭ 18 (-45.45%)
Mutual labels:  zeromq
lexical cast
General literal text conversions, such as an int represented as a string, or vice versa
Stars: ✭ 23 (-30.3%)
Mutual labels:  boost
Dwx Zeromq Connector
Wrapper library for algorithmic trading in Python 3, providing DMA/STP access to Darwinex liquidity via a ZeroMQ-enabled MetaTrader Bridge EA.
Stars: ✭ 226 (+584.85%)
Mutual labels:  zeromq
HyperGraphLib
C++ Hypergraph modelling Library using Boost and OpenMP with some algorithms, including isomorphism using Gecode.
Stars: ✭ 19 (-42.42%)
Mutual labels:  boost
gtkmm-plplot
a scientific plotting library for Gtkmm leveraging the power of PLplot
Stars: ✭ 59 (+78.79%)
Mutual labels:  boost
boost
Boost Maven and Gradle plugins for MicroProfile development
Stars: ✭ 27 (-18.18%)
Mutual labels:  boost
type index
Runtime/Compile time copyable type info.
Stars: ✭ 20 (-39.39%)
Mutual labels:  boost

ZeroMQ with Boost under VisualStudio 2015

This repository contains a VS 2015 Solution with four projects based on ZeroMQ examples:

a) ZeroMQ Client/Server example (server and client projects)

b) ZeroMQ Publish/Subscribe example (server and client projects)

The PubSub example uses the boost libraries for message parsing.

Compiling

To compile the projects you'll need to compile ZeroMQ and checkout some sources. The predefined settings in the VS-Solution will expand to several paths. So take care of putting them into these ENV-variables:

ZMQ_HOME:        sources from zeromq/libzmq
ZMQ_CPP_HEADERS: sources from zeromq/cppzmq
ZMQ_LIBS:        binaries compiled from ZMQ_HOME directory
ZMQ_LIBSODIUM:   sources from jedisct1/libsodium (IMPORTANT: libsodium must go inside the libzmq-root directory so the ZMQ-lib can be compiled with libsodium support)
ZMQ_ZGUIDE:      sources from booksbyus/zguide 

Additionally:

  • Compile libzmq by opening the solution under builds/msvc/vs2015 or via batch-files under builds/msvc/build. As already mentioned, if you want to have libsodium support you must checkout its sources inside the root directory of libzmq before you compile libzmq!
  • Compile libsodium by using the solution under builds/msvc/vs2015 or via batch files under builds/msvc/build.
  • Put the paths to the DLLs into their respective env variables (ZMQ_LIBS & ZMQ_LIBSODIUM)

This is how the path to *ZMQ-Sources looks like on my machine:

Here's the path to the compiled Libsodium-binary (notice the root directory that belongs to ZeroMQ):

  • Additionally insert the base path of zguide where the C++ helper-headers reside. This is not mandatory but these header files contain many helpful functions & macros.

  • And this is how we reference them in our projects:

  • ZMQ-Binaries have their own env-variable, of course. Depending on what architecture and toolset are being used the predefined variables in VS2015 will expand to their x86/x64 & Debug/Release versions.

  • Here's how it looks like in VS-Project Properties:

  • The ZeroMQ static library is also in the list of additional dependencies.

  • To properly run client/server apps based on ZeroMQ we need the ZeroMQ-DLL for dynamic binding. There's already a Post-Build-Event that'll be executed after each successful build:

Now, compile the sources and let ZeroMQ fly 😄

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].