bug-commoncpp
[Top][All Lists]
Advanced

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

Re: [cplusplus-bug 595510 ] timout = 0 in constructors


From: Federico Montesino Pouzols
Subject: Re: [cplusplus-bug 595510 ] timout = 0 in constructors
Date: Sat, 17 Aug 2002 17:13:47 +0200 (CEST)

   Hi,

   At first sight I think this is not a bug, it just seems to be the
default. Does this initialization to 0 lead to buggy or weird
behaviour in any circumstances? After construction, you can use
setTimeout.

   I think however, than an optional timeout parameter could be added
to the constructors of URLStream and TTYStream, the same way it is
currently defined for the TCPStream and UnixStream constructors.


>  Hello.
> I found "timeout = 0"
> in URLStream and TTYStream
> constructors.
> Shouldn't it be TIMEOUT_INF
> instead?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]