summaryrefslogtreecommitdiff
path: root/include/zmq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/zmq.h')
-rw-r--r--include/zmq.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/zmq.h b/include/zmq.h
index a7638aa..e860146 100644
--- a/include/zmq.h
+++ b/include/zmq.h
@@ -153,7 +153,9 @@ ZMQ_EXPORT int zmq_term (void *context);
/* 0MQ socket definition. */
/******************************************************************************/
-/* Socket types. */
+/* Socket types. */
+/* ZMQ_P2P is obsolete and scheduled to be removed in version 2.0.8 */
+#define ZMQ_PAIR 0
#define ZMQ_P2P 0
#define ZMQ_PUB 1
#define ZMQ_SUB 2