On 11/08/2010 12:28 PM, Pieter Hintjens wrote: > On Mon, Nov 8, 2010 at 12:20 PM, Martin Lucina<m...@kotelna.sk> wrote: > >> So you're saying a non-blocking send () may simply return with no error and >> less bytes written? I guess that makes sense, I was wondering about that >> case but the POSIX docs were not terribly obvious on this. > > I've never heard of this before. The Linux man page for send() says: > "If the message is too long to pass atomically through the underlying > protocol, the error EMSGSIZE is returned, and the message is not > transmitted." > > Could that be Linux-specific?
Neither Linux nor POSIX specs are clear about this, however, IMO the error only makes sense for datagram-based protocols. Martin _______________________________________________ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev