[zeromq-dev] Request-Reply Pattern

Charles Remes lists at chuckremes.com
Thu Dec 20 22:48:21 CET 2012


On Dec 20, 2012, at 12:39 AM, Kira <dophinehk at yahoo.com.hk> wrote:

> Hi,
> 
> I have an issue about using Request-Reply Pattern. Suppose there one REQ socket and multiple REP sockets,
> since one request can be sent to one REP sockets. If the request need to be broadcast, DEALER/ROUTER is used.
> As I don't want to create a DEALER/ROUTER socket, is it possible to use PUB/SUB/REQ/REP socket to cater for this purpose?

Sorry, it is not true that DEALER/ROUTER are used to broadcast requests. 

Please describe your purpose so that we can propose the proper solution. Also, please read the zguide.zeromq.org and focus on chapters 2, 3, 4 and 5. Those chapters describe the patterns and how to use them for both simple and advanced techniques.

cr


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121220/4e9d1be9/attachment.htm>


More information about the zeromq-dev mailing list