On 09/12/11 15:16, Tom Bennett wrote:

> 3. I can just use REQ/REP. If the API call-back is called once and only
> once, this actually works beautifully. However, if it is a situation
> where I send a request and there are multiple asynchronous responses,
> this does not seem to work.

You can use XREP socket on the server side, store the clients ID and use 
it to route multiple replies to the client.

On the client side you can use XREQ socket that doesn't enforce string 
send/recv/send/recv/... pattern.

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

Reply via email to