Problem: client/server socket types not defined.

Solution: Add ZMQ_CLIENT and ZMQ_SERVER to socket_type enum.
Update some of draft guarded unit tests to use them.
This commit is contained in:
Pawel Kurdybacha
2018-05-11 06:41:53 +01:00
parent 2aba0bb3ac
commit 33025bf0e6
2 changed files with 6 additions and 3 deletions

View File

@@ -563,6 +563,10 @@ namespace zmq
xsub = ZMQ_XSUB,
push = ZMQ_PUSH,
pull = ZMQ_PULL,
#ifdef ZMQ_BUILD_DRAFT_API
server = ZMQ_SERVER,
client = ZMQ_CLIENT,
#endif
#if ZMQ_VERSION_MAJOR >= 4
stream = ZMQ_STREAM,
#endif