[zeromq-dev] using REQ in a real application

Steven McCoy steven.mccoy at miru.hk
Fri Jul 19 01:09:57 CEST 2013

On 18 July 2013 16:43, Matt Connolly <matt.connolly at me.com> wrote:

> What is the correct way to handle the timeout?
> If the REQ socket is in the receive state, the only way it seems to me is
> to close the socket and make a new socket with a new connection. Is that
> right?
Yes, REQ and REP are pretty much
sockets but also incredibly useful for rapid prototyping of environments.
 Heading towards production you want to replace with DEALER and ROUTER to
remove the fatal blocking states.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130718/1d5055f5/attachment.htm>

More information about the zeromq-dev mailing list