[zeromq-dev] ROUTER and blocking

Justin Karneges justin at affinix.com
Sat Sep 22 02:23:11 CEST 2012


Hi,

When does a write to ROUTER block? Is it if the identified connection has a 
full queue? Does this mean it would be possible to write to the socket in non-
blocking mode with one connection id and get EAGAIN, but then write to the 
same socket using a different connection id and succeed, even though nothing 
had changed about the underlying socket queues between these write attempts?

Also, if the identified connection does not exist, I assume the socket drops 
the message rather than blocking until that connection appears?

Justin



More information about the zeromq-dev mailing list