[zeromq-dev] Socket connect status

Martin Sustrik sustrik at 250bpm.com
Mon Mar 15 12:34:17 CET 2010


Hi Andreas,

> this is not like a web server or such. The server is offering high 
> performance
> services and thus is dependent on very fast message sending.
> 
> My problem is that I don't get any information at which time I may close
> the connection. It would suffice to have the possibility to "ask" the socket
> if all messages were successfully sent. Otherwise I would have to store each
> connection or to use a hard "timeout" and hope that every message has been
> sent.

Well, such semantics would lead to deadlock in sender in case the 
receiver is not available.

Martin



More information about the zeromq-dev mailing list