[zeromq-dev] How to detect if a remote socket has closed

Pieter Hintjens ph at imatix.com
Tue Aug 17 15:39:55 CEST 2010


On Tue, Aug 17, 2010 at 3:34 PM, Pieter Hintjens <ph at imatix.com> wrote:

>> I'm finding that I'm hanging on socket creation a lot. Is that usual?
>
> Nope, that assertion means something is broken, perhaps the build.
> I'm asking Martin S. over on the IRC channel...

What socket types are you using?  The assertion hits when REP gets an
invalid message.  Perhaps not the best behaviour but one way that
could happen is if you use an XREQ socket to talk to REP.

-
Pieter Hintjens
iMatix - www.imatix.com



More information about the zeromq-dev mailing list