[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: isPending, logging
From: |
David Sugar |
Subject: |
Re: isPending, logging |
Date: |
Thu, 3 Jun 2004 22:28:49 -0400 |
User-agent: |
KMail/1.6.2 |
I will have to look at it, but isPending just uses poll, so it seems strange
to have inconsistent results from poll. One thing I am aware of is that on a
dropped connection that is not done with keepalive, isPending will result
"true" since there is a 0 byte "eof" marker placed in the receive buffer.
On Thursday 03 June 2004 06:43 pm, René Brüntrup wrote:
> Hi!
>
> I am using commoncpp in an university project and I really like it, but
> there is one thing I just don't understand: How does isPending work?
> I tried the method in a TCPSession and a SimpleTCPStream (I'm not sure if
> this is the same implementation), but in both cases the method seems to
> return true all the time for pendingInput and false for pendingErrors.
>
> We need a simple logging class for our project that cannot just log to the
> syslog, but to multiple targets. I'm thinking about extending slog in this
> direction. Is somebody working at this class in the moment? What the
> correct cvs branch for these extensions?
>
> Greetings, Rene
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-commoncpp