[zeromq-dev] ZMQ_STREAM with inproc ?

Pieter Hintjens ph at imatix.com
Fri Feb 14 10:26:10 CET 2014


On Wed, Feb 12, 2014 at 9:25 AM, Laurent Alebarde <l.alebarde at free.fr> wrote:

> If the answer is positive, I think it should assert as soon as the
> socket  binds or connects to a none tcp address.
>
> Please don't assert. return an error. An application can never handle
> an assert and give a good error, like e.g "Wrong transport type
> specified in conffile".

You can't sensibly be specifying tcp vs. inproc in a conffile... it's
too intimately tied to the architecture. Especially when using STREAM
sockets. I'd rather see a LOLRTFM assert when people do impossible API
calls.

-Pieter



More information about the zeromq-dev mailing list