[zeromq-dev] I need ZMQ server working like DLL

Michal Vyskocil michal.vyskocil at gmail.com
Fri Sep 1 19:58:35 CEST 2017


Hi,

The combination of zproject and czmq will do exactly what you want.
Zproject will generate build recipes for you in a way that code will be in
shared library. It can generate several targets including msvc project.

Czmq then provides zactor class, which allows you to implement your server
in thread in easiest way than pthreads or other interfaces. There are
several actors in czmq, like zproxy or zauth.

Them there is zpoller, simple pollen compatible with zeromq sockets, which
is the best way to implement timeouts.

https://github.com/zeromq/zproject
https://github.com/zeromq/czmq


Dne 31. 8. 2017 3:10 odpoledne napsal uživatel "Andy" <
borucki.andrzej at gmail.com>:

I have two process. ZMQ server which is database client. Waits for requests
and read/write to database. ZMQ client works synchronously - give request
and short wait for response.
What example?
On github I saw many repositories for C++ ZeroMQ:
azmq
azmq1-0
cppzmq
libzmq
zeromq4-1
zmqpp
What difference is roughly between them ? Which would be better to me?
I don't use ZMQ_SUBSCRIBE?
How wait socker.recv only short time and next renew request?



_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20170901/096a9a5f/attachment.html>


More information about the zeromq-dev mailing list