On Wed, Sep 01, 2010 at 10:06:44AM -0700, Gilad Benjamini wrote:
> Your sample code did not include the watermark part.
It doesn't need to.
> May I assume that at the end of the code snippet you would set the low
> watermark ?
No.
> If I set the low watermark to X, am I guaranteed that the next
> > It seems that this can be done with a buffered event which keeps
> changing
> > the read low watermark (twice per message).
Your sample code did not include the watermark part.
May I assume that at the end of the code snippet you would set the low
watermark ?
If I set the low watermark to X,
On Sun, Aug 29, 2010 at 08:08:12AM -0700, Gilad Benjamini wrote:
> My eventloop needs to go through this cycle
>- Read 16 bytes off the network
>- The 16 bytes contain a length parameter
>- Read additional "length" bytes from the network.
>
> It seems that this can be done with a buffe
Yes I do think so. I'm using this feature on a chat proxy server.
Sent from my iPad
On Aug 29, 2010, at 11:08 PM, "Gilad Benjamini" wrote:
> My eventloop needs to go through this cycle
> - Read 16 bytes off the network
> - The 16 bytes contain a length parameter
> - Read additional "lengt
My eventloop needs to go through this cycle
- Read 16 bytes off the network
- The 16 bytes contain a length parameter
- Read additional "length" bytes from the network.
It seems that this can be done with a buffered event which keeps changing
the read low watermark (twice per message).
Is