nevermind, found the issue.. essentially this amounts to sending a msg
twice which is not allowed.

thanks
Nishant


On Fri, Jan 11, 2013 at 9:39 AM, Nishant Mittal <[email protected]> wrote:

> Hi All,
> my code is receiving msgs on a router socket and storing them on a
> vector<zmq_msg_t *> zmsgs;
> this is a cache that throttles msgs. messages are then picked up from this
> queue and sent to a dealer socket (that has workers connected to it)...
> this works fine. but every now and then a response is not received from the
> dealer (worker) and I have to send a error msg through the router back.
>
> so I try to pick the first 2 parts of each 3 part message (1st is the
> address, 2nd is the empty frame).. and add a 3rd part which is the error
> message.
>
> thats when i get the above error. does anyone know what maybe going on?
>
> thanks
> Nishant
>



-- 
*Nishant Mittal*
Director, Product Development
*Rosenblatt Securities Inc*.
20 Broad Street
New York, NY 10005

Direct: 212-607-3159
Mobile: 646-504-2629
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to