[zeromq-dev] Heartbeating using TCP keepalives

Lindley French lindleyf at gmail.com
Fri Jan 3 18:31:11 CET 2014


There are two approaches that can be used if an API specifies time more
finely than the system supports.

First, you can specify in the API that this is only a hint. This is
accurate but it makes it more difficult to reason about and debug the
actual behavior.

Second, you can have the method return the actual value that will be used,
which might be different than the value requested.


On Fri, Jan 3, 2014 at 5:54 AM, KIU Shueng Chuan <nixchuan at gmail.com> wrote:

> What should be the behavior if the user specifies 1500ms but the
> underlying OS only supports seconds granularity?
>
> _______________________________________________
> 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/20140103/01793a60/attachment.htm>


More information about the zeromq-dev mailing list