Fastream Technologies wrote:
Where could I get more info on the proper way to do that?
Dunno for C++ Builder.
These articles address Delphi, however they are useful for
C++ Builder users as well:
http://dn.codegear.com/print/38437
http://dn.codegear.com/print/38498
Thanks for the summary and links! :-)
On Wed, Sep 16, 2009 at 10:08 AM, Arno Garrels arno.garr...@gmx.de wrote:
Fastream Technologies wrote:
Where could I get more info on the proper way to do that?
Dunno for C++ Builder.
These articles address Delphi, however they are useful for
C++
Hello!
I'm writing simple console downloader and decided to use sync operations in
order to simplify structure. But I've found that sync requests (HttpCli) do not
use any timeout, so they may last forever in case of error. My question is: how
can I add timeouts without messageloops and threads
how can I add timeouts without messageloops and threads and so on?
I see that there is still ControlSocket.MesagePump in SyncRequest, so I suppose
creating timer will work, won't it?
--
Anton
--
To unsubscribe or change your settings for TWSocket mailing list
please goto
how can I add timeouts without messageloops and threads and so on?
You need a messageloop to make ICS component work anyway.
Every GUI application has a messageloop.
If you build a console mode application, you have to create one yourself.
See various console mode ICS démos. Simple...
--
And second question, more global: Isn't it worth to add good and native
timeout functionality to TWSocket so that thousands of developers
hadn't invent a bicycle again and again? I know about TIcsTimer
and so on, but it is not 'out of the box'.
This is underway. but designing a general
If you build a console mode application, you have to create one yourself.
See various console mode ICS d?mos. Simple...
Yes, I created TIcsTimer with HttpCli.CtrlSocket as Owner and implemented
Start/StopTimer methods. Seems working, although I don't see yet how can I
control the main function
Anton Sviridov wrote:
If you build a console mode application, you have to create one
yourself. See various console mode ICS d?mos. Simple...
Yes, I created TIcsTimer with HttpCli.CtrlSocket as Owner and
implemented Start/StopTimer methods. Seems working, although I don't
see yet how can I
I think Arno and Francois is right about not making a TTimer per Thttpcli as
default. It would overwhelm our reverse proxy with 10k connections each with
two sockets. However for simple needs, Anton is right about asking for a
solution which I think sould only be switched on by a define.
Just my
Anton Sviridov wrote:
Hello!
I'm writing simple console downloader and decided to use sync
operations in order to simplify structure. But I've found that sync
requests (HttpCli) do not use any timeout, so they may last forever
in case of error.
That's IMHO a bug.
--
Arno Garrels
--
To
I'm writing simple console downloader and decided to use sync
operations in order to simplify structure. But I've found that
sync requests (HttpCli) do not use any timeout, so they may last
forever in case of error.
That's IMHO a bug.
Indeed, poor implementation in THttpCli with no
Hello,
I'm trying to locate the source code and TTrafficLight component referenced
in an article written by Francois Piette and found originally in the
following inactive linkage: http://edn.embarcadero.com/print/20465. It was
titled Writing Client/Server applications in ICS It would be of
12 matches
Mail list logo