On Wed, Feb 12, 2014 at 9:25 AM, Laurent Alebarde <[email protected]> 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 _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
