Message queue broker in C++

//
// Simple message queuing broker in C++
// Same as request-reply broker but using QUEUE device
//
// Olivier Chamoux <moc.puorgselaht.rf|xuomahc.reivilo#moc.puorgselaht.rf|xuomahc.reivilo>

#include "zhelpers.hpp"

int main (int argc, char *argv[])
{
zmq::context_t context(1);

// Socket facing clients
zmq::socket_t frontend (context, ZMQ_ROUTER);
frontend.bind("tcp://*:5559");

// Socket facing services
zmq::socket_t backend (context, ZMQ_DEALER);
backend.bind("tcp://*:5560");

// Start the proxy
zmq::proxy(frontend, backend, nullptr);
return 0;
}