Paul,
I do not know how others would imagine doing this, but I thought a bit
about how that could be useful to me. My imagination is that I I would
set up the polling via the comm channel so I can add, list or remove
polling tasks.
I would have the program sleeping on input from the channel
Hi Marty,
I looked through the ownet C code and see your point completely. I've fixed
the file descriptor leak and updated the persistent connection code as well.
Any reason why you are opening and closing connections repeatedly
(OWNET_init OWNET_close) rather than keeping one open and reusing it
Very thoughtful note.
Let me explore one of your ideas, on polling.
On Fri, Dec 21, 2012 at 6:06 PM, Michael Markstaller wrote:
>
> And then I thought, if it wouldn't be great for owserver to have some
> kind of long-polling API where the client only gets notified if
> something interesting (a