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" <gi...@altornetworks.com> 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 buffered event which keeps changing > the read low watermark (twice per message). > Is this a "proper" way to use buffered events ? > > *********************************************************************** > To unsubscribe, send an e-mail to majord...@freehaven.net with > unsubscribe libevent-users in the body. *********************************************************************** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent-users in the body.