Commit 34d78541 authored by Martin Sustrik's avatar Martin Sustrik

Obsolete constants ZMQ_UPSTREAM and ZMQ_DOWNSTREAM removed

Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
parent dee5f650
...@@ -54,8 +54,8 @@ int main (int argc, char *argv []) ...@@ -54,8 +54,8 @@ int main (int argc, char *argv [])
// TODO: make the number of I/O threads configurable. // TODO: make the number of I/O threads configurable.
zmq::context_t ctx (1); zmq::context_t ctx (1);
zmq::socket_t in_socket (ctx, ZMQ_UPSTREAM); zmq::socket_t in_socket (ctx, ZMQ_PULL);
zmq::socket_t out_socket (ctx, ZMQ_DOWNSTREAM); zmq::socket_t out_socket (ctx, ZMQ_PUSH);
int n = 0; int n = 0;
while (true) { while (true) {
......
...@@ -181,8 +181,6 @@ ZMQ_EXPORT int zmq_term (void *context); ...@@ -181,8 +181,6 @@ ZMQ_EXPORT int zmq_term (void *context);
#define ZMQ_PUSH 8 #define ZMQ_PUSH 8
#define ZMQ_XPUB 9 #define ZMQ_XPUB 9
#define ZMQ_XSUB 10 #define ZMQ_XSUB 10
#define ZMQ_UPSTREAM ZMQ_PULL /* Old alias, remove in 3.x */
#define ZMQ_DOWNSTREAM ZMQ_PUSH /* Old alias, remove in 3.x */
/* Socket options. */ /* Socket options. */
#define ZMQ_HWM 1 #define ZMQ_HWM 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment