On Thu, May 26, 2011 at 12:43 PM, Martin Sustrik <[email protected]> wrote:

> However, if people feel the other behaviour is desirable as well, maybe
> a socket option could help?

Isn't the real issue here that connect is asynchronous?

I've thought often that making connect synchronous (at the API level)
would solve a lot of 'surprising' aspects, without doing any harm. Of
course there needs to be the option of doing non-blocking connects,
since we sometimes want that. But it's a minority use case. This is
also how the normal TCP socket API works. Synchronous connects unless
you do extra work to make them non-blocking.

-Pieter
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to