[zeromq-dev] Socket connect status

Martin Sustrik sustrik at 250bpm.com
Thu Mar 11 20:06:50 CET 2010


>  > I assume you are using PUB/SUB sockets. These work as a radio
>  > transmission. PUB publishes continuous stream of data, while SUBs
>  > connect at a particular point, receive the stream for a while, then
>  > disconnect.
>  >
>  > You may want to use different messaging pattern, depending on your 
> use case.
> I have tested the REQUEST/REPLY and the DOWNSTREAM/UPSTREAM patterns, too.
> They all showed the same behaviour.

The other possible problem is that you terminate the application before 
it has a chance to send the message. Note that 0MQ is a message queueing 
system, meaning that messages are sent asynchronously.


More information about the zeromq-dev mailing list