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 <
zeromq-dev@lists.zeromq.org> napsal:

> SIMON BABY <simonkb...@gmail.com> 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
> zeromq-dev@lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to