Add REQ-REP zmq/nn sockets to FairMQ together with a little example program.

Also includes example of using boost::program_options.
This commit is contained in:
Alexey Rybalchenko
2014-10-10 18:36:44 +02:00
parent bd79420f93
commit 9317f06c10
11 changed files with 519 additions and 2 deletions

View File

@@ -224,6 +224,10 @@ int FairMQSocketZMQ::GetConstant(const string& constant)
return ZMQ_PUSH;
if (constant == "pull")
return ZMQ_PULL;
if (constant == "req")
return ZMQ_REQ;
if (constant == "rep")
return ZMQ_REP;
if (constant == "snd-hwm")
return ZMQ_SNDHWM;
if (constant == "rcv-hwm")