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

Martin Sustrik sustrik at 250bpm.com
Tue Jun 15 08:45:34 CEST 2010


> 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 :-) )

It looks like bug. I'll look at it later on.


More information about the zeromq-dev mailing list