[zeromq-dev] ZMQ_FD with request sockets

Martin Sustrik sustrik at 250bpm.com
Sat Dec 10 00:58:48 CET 2011


On 09/12/11 14:36, Yi Ding wrote:

> Yes, that appears to be the behavior.  Only after I call send is the
> socket actually readable right?  Before I call send the socket is still
> not-readable, correct?

Initially, socket is in "readable" state. It exits the state when 
there's an unseccessful attempt to zmq_recv() from the socket. It enters 
the "readable" state again when a message arrives in the socket's thread.

Martin



More information about the zeromq-dev mailing list