ROUTER and DEALER are aliases for XREP and XREQ

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik
2011-10-31 15:51:11 +01:00
parent dee8b2360a
commit 9227c38933

View File

@@ -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