[zeromq-dev] Problem with durapub2 example

Tonis Xie tonis.xie at gmail.com
Thu Jul 28 16:25:53 CEST 2011


I think the API should be designed to prevent user from misusing.

On Thu, Jul 28, 2011 at 9:17 PM, Ian Barber <ian.barber at gmail.com> wrote:

> On Thu, Jul 28, 2011 at 2:03 PM, Pieter Hintjens <ph at imatix.com> wrote:
>
>>  > You could validly do both, e.g. bind() set HWM, connect to a second
>> source,
>> > set another HWM, connect to another, so no way of telling.
>>
>> That's always been the argument for not checking, but is that actually
>> used, ever?
>>
>> -Pieter
>
>
> Yeah, well at least I've seen it with XREPs going to different types,
> primarily when there's a local control channel over IPC and other stuff
> going over tcp. There is scope for bindings to provide different interfaces
> though, for example have the socket constructor take HWM as an argument or
> similar (though it should probably encourage setting a LWM as well, which is
> somewhat underused afaics).
>
> Ian
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110728/6abb7eaf/attachment.htm>


More information about the zeromq-dev mailing list