summaryrefslogtreecommitdiff
path: root/include/xs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xs.h')
-rw-r--r--include/xs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xs.h b/include/xs.h
index b47358b..039d62f 100644
--- a/include/xs.h
+++ b/include/xs.h
@@ -158,7 +158,7 @@ XS_EXPORT int xs_setctxopt (void *context, int option, const void *optval,
/* Crossroads socket definition. */
/******************************************************************************/
-/* Socket types. */
+/* Socket types. */
#define XS_PAIR 0
#define XS_PUB 1
#define XS_SUB 2
@@ -171,6 +171,7 @@ XS_EXPORT int xs_setctxopt (void *context, int option, const void *optval,
#define XS_XPUB 9
#define XS_XSUB 10
+/* Legacy socket type aliases. */
#define XS_ROUTER XS_XREP
#define XS_DEALER XS_XREQ