Re: [gnet-devel] Flushing GConn Buffer



On Tue, 2008-07-01 at 11:34 -0700, Les Harris wrote:

Hi,

> Is it possible to flush the buffer of a GConn after a read event has
> finished?  I know there is the event->length parameter which is what I'm
> using to get the proper amount of data from the buffer, but for my use
> case it would be easier for me if I could just flush the buffer.

Not in any way that I can think of. Why do you want to do that? Seems a
rather odd thing to do for a stream-based connection.

Cheers
 -Tim




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]