summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/zmq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/zmq.h b/include/zmq.h
index a262d01..3ddad7e 100644
--- a/include/zmq.h
+++ b/include/zmq.h
@@ -163,6 +163,9 @@ ZMQ_EXPORT int zmq_term (void *context);
#define ZMQ_XPUB 9
#define ZMQ_XSUB 10
+#define ZMQ_ROUTER ZMQ_XREP
+#define ZMQ_DEALER ZMQ_XREQ
+
/* Socket options. */
#define ZMQ_AFFINITY 4
#define ZMQ_SUBSCRIBE 6