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" < [email protected]>: 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 [email protected] https://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________ zeromq-dev mailing list [email protected] https://lists.zeromq.org/mailman/listinfo/zeromq-dev
