[zeromq-dev] Recv() picking up identity delimiter (empty msg)

Martin Sustrik sustrik at 250bpm.com
Thu Jun 17 11:09:43 CEST 2010

Hi Matt,

> This code is based on the trivial client server example with the client 
> converted to internal threads, using inproc instead of TCP, running on 
> 2.0.7.
> Here's the output (Leopard/Xcode 3.1.2):
> [Session started at 2010-06-14 18:31:48 -0400.]
> *request size 0*
> *terminate called after throwing an instance of 'zmq::error_t'*
> *  what():  Operation cannot be accomplished in current state*
> When using inproc: on the client side (the REQ-XREP pair), the identity 
> delimiter is not being stripped off at the REP side.  This only happens 
> when you use inproc, the code works fine when the client is running over 
> TCP (undefine BROKEN :-) )

Fixed in revision 9151de3. Try now!


More information about the zeromq-dev mailing list