Hi, Just use zpoller from czmq. It is C library, but with really nice API you can call from C++ code
Dne čt 25. 7. 2019 19:33 uživatel Brett Viren via zeromq-dev < [email protected]> napsal: > SIMON BABY <[email protected]> writes: > > > I am looking for a sample source code in c++ with multiple end-points > defined in the same process. > > Basically my process has to send a receive messages to/from other > processes. > > These two requirements seem contradictory to me. > > In any case, the zmqpp package has tests written in C++ that have > multiple sockets in the same process. > > > https://github.com/zeromq/zmqpp/blob/develop/src/tests/test_socket.cpp#L84 > > I happen to develop in C++ and use libczmq. Although it is a C library, > there has been nothing that limits me using it with C++. > > -Brett. > > _______________________________________________ > 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
