[zeromq-dev] [PATCH] Introduce ZMQ_ROUTER and ZMQ_DEALER sockets
Martin Sustrik
sustrik at 250bpm.com
Mon Jun 20 13:45:23 CEST 2011
Hi all,
This patch introduces ZMQ_ROUTER and ZMQ_DEALER socket type that haven't
existed so far in 3.0 branch.
It also separates their implementation from ZMQ_XREQ and ZMQ_XREP,
although the implementations are identical at the moment.
The idea is to preserve the existing functionality in ZMQ_ROUTER and
ZMQ_DEALER sockets (see "Survey: use of 0MQ request reply" thread for
different use cases) so that no applications will be broken, while at
the same time improving simple request/reply model (dropping messages
from dead clients, automatic resend, dropping duplicates etc.) in
ZMQ_XREP and ZMQ_XREQ sockets.
Thoughts?
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Introduce-ZMQ_ROUTER-and-ZMQ_DEALER-sockets.patch
Type: text/x-diff
Size: 19342 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110620/ae5acdcf/attachment.patch>
More information about the zeromq-dev
mailing list