[zeromq-dev] REP returns Operation cannot be accomplished in current state

Martin Sustrik sustrik at 250bpm.com
Mon Jul 4 16:40:48 CEST 2011


Hi Antonio,

> ZMQError: Operation cannot be accomplished in current state

REP socket works in a lock-step manner: Get a request, send a reply, get 
next request, send a reply, etc.

If you try to receive two requests without sending a reply or send two 
replies without receiving next request, you'll get the error above.

Martin



More information about the zeromq-dev mailing list