Re: [twsocket] Using timeouts

2009-04-24 Thread Arno Garrels
Anton Sviridov wrote:
> I have discovered some stuff dealing with socket timeouts and wish to
> know how to apply them 
> These are TWSocketCounter and TFtpClient.Timeout. As far as I see,
> the former one just stores timestamps of recent socket activities,
> but does nothing if there are no activity for a long time. And the
> latter seems only to be used in WaitUntilReady. Am I right and
> there's no more means of tracking connect or read timeouts?

That's correct. The component user remains responsible to implement
a timeout on application level the TWSocketCounter makes this task
somewhat easier. An example implementation is the THttpServer in
latest ICS-V7.

-- 
Arno Garrels

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] Using timeouts

2009-04-24 Thread Anton Sviridov
I have discovered some stuff dealing with socket timeouts and wish to know how 
to apply them
These are TWSocketCounter and TFtpClient.Timeout. As far as I see, the former 
one just stores timestamps of recent socket activities, but does nothing if 
there are no activity for a long time. And the latter seems only to be used in 
WaitUntilReady. Am I right and there's no more means of tracking connect or 
read timeouts?

--
Best wishes, Anton
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be