You need to use a non-blocking listen function if you want to send/listen
from multiple endpoint in the same process.
Check out zmq_poll, there should be an example on how to use it to have a
non blocking listen.

On Thu, Jul 25, 2019 at 10:19 AM SIMON BABY <[email protected]> wrote:

> yes I tried . But could not see any sample with multiple endpoint from the
> same process. can you please helpout.
>
> Rgds
> Simon
>
> On Thu, Jul 25, 2019 at 10:13 AM Matteo <[email protected]> wrote:
>
>> Have you tried the sample in C from the docs?
>>
>> On Thu, Jul 25, 2019 at 10:07 AM SIMON BABY <[email protected]> wrote:
>>
>>> Hi Patrick,
>>>
>>> Thank you for the reply.
>>> 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.
>>>
>>> Rgds
>>> Simon
>>>
>>> On Thu, Jul 25, 2019 at 9:48 AM Patrick Boettcher <
>>> [email protected]> wrote:
>>>
>>>> On Thu, 25 Jul 2019 09:14:46 -0700
>>>> SIMON BABY <[email protected]> wrote:
>>>>
>>>> > Hi,
>>>> >
>>>> > Can anyone send me a sample application in  c++ using  zeromq library
>>>> > in c++ source code using multiple endpoints.
>>>>
>>>> Yes.
>>>>
>>>> regards,
>>>> --
>>>> Patrick.
>>>>
>>> _______________________________________________
>>> zeromq-dev mailing list
>>> [email protected]
>>> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>>
>>
>>
>> --
>> Matteo
>> _______________________________________________
>> 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
>


-- 
Matteo
_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to