Home

Awesome

ZMQC++

ZMQC++ (ZMQCpp) is a smart and easy to use C++ wrapper of the ZeroMQ messaging library.

See ZMQC++ website http://srombauts.github.com/ZMQCpp on GitHub.

Keywords: ZeroMQ, ØMQ, ZMQ, C, library, wrapper C++

About ZeroMQ:

The socket library that acts as a concurrency framework. Carries messages across inproc, IPC, TCP, and multicast. Asynch I/O for scalable multicore message-passing apps. LGPL free software with static linking exception. http://www.zeromq.org/

About ZMQC++:

ZMQC++ offers an encapsulation arround the native C APIs of libzmq, with a few intuitive and well documented C++ class.

The goals of ZMQC++ are:

It is designed using the Resource Acquisition Is Initialization (RAII) idom (see http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization), and throwing exceptions in case of ZeroMQ errors (exept in destructors, where assert() are used instead). Each ZMQC++ object must be constructed with a valid ZeroMQ context or socket, and then is always valid until destroyed.

### Suported platforms:

Developements and tests are done under the following OSs :

Dependencies:

Installation

To use this wrappers, you need to add the ZMQC++ source files from the src/ directory in your project code base, and compile/link against the zmq library.

License

Copyright (c) 2013 Sébastien Rombauts (sebastien.rombauts@gmail.com)

Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt or copy at http://opensource.org/licenses/MIT)

Getting started

First sample demonstrates how to initialize a context, create a socket and bind/connect it:

// TODO

How to contribute

GitHub website

The most efficient way to help and contribute to this wrapper project is to use the tools provided by GitHub:

Contact

You can also email me directly, I will answer any questions and requests.

Coding Style Guidelines

The source code use the CamelCase naming style variant where :