I'm not sure you can have unreceived messages pending if the socket
has no binds or connects. A blocking recv() would simply never return
until the context is shutdown or the process interrupted.

On Wed, Jan 1, 2014 at 10:06 PM, Gregg Irwin <gr...@pointillistic.com> wrote:
> PH> The behavior should be fixed at the libzmq level IMO, and documented.
> PH> I'd suggest that reading from a socket that was neither bound nor
> PH> connected is an error, and should perhaps even assert. Or at least
> PH> return an ENOTCONN error.
>
> Including the case where there are unreceived messages pending?
>
> -- Gregg
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to