Hi All,

I'd like to use Client-Server pattern but I've ran into an issue.

First of all, is this pattern ready to be used in production?

The zmq_socket doc page does not say that it's in draft phase, however
zmq.h says ZMQ_SERVER and ZMQ_CLIENT are "DRAFT Socket types". Hence, is it
draft or is it released?

Second, I wrote a test code that compiles but fails to run with the error,
which I do not know why
happens because I do pass ZMQ_BUILD_DRAFT_API variable to compiler.

Here is the error:
Assertion failed: socket_type >= 0 && socket_type < (int) names_count
(src/mechanism.cpp:110)
Assertion failed: socket_type >= 0 && socket_type < (int) names_count
(src/mechanism.cpp:110)
Aborted

Here the code, with the build command at the top:
https://pastebin.com/z5zUCAub

I am running Debian Testing Buster and ZMQ is Current 0MQ version is 4.2.5,
which I installed
from Debian repository.

Could someone help me with this,
TY!
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to