:-( I cant handle it ;-(((( I dont really understand the HTTPAsy example
;-( Could anybody help me? For example i got a an edit, where im deciding
how may "threads" (simaltaneous async http components) are going to be
used... for example ... 50..., got some memo... every line of memo is some
http address... and other memo as output... now i woulike it to check every
server at memo (like it had 50 threads) and put the output to output memo...
but if the connection times out, it add the server again to check to the end
of the list ...
Could anybody help me please... Im really new in delphi and i really need
it...

Desperaited Ann...

----- Original Message ----- 
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Thursday, April 14, 2005 9:58 AM
Subject: Re: [twsocket] Multithreaded http...


> > because there are alot of records to check, i wanted it to be
threaded...
>
> Well, this is defenitely not a case where multithreading is needed because
ICS HTTP component is
> asynchronous. HTTP component doesn't block ! It automatically handle your
requests in the background
> using events. If you need to handle 100 simultaneous requests, then simply
use 100 HTTP components
> and async methods (GetAsync and the likes) and events (OnRequestDone and
the likes).
>
> btw: Not all Windows versions are able to handle 100 simultaneous
connections ! This is not a
> limitation of ICS, it is a built-in limitation in some Windows versions.
You need a "Windows Server"
> edition to be able to handle hundreds of simultaneous connections.
>
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
>
>
> ----- Original Message ----- 
> From: "Flash Thunder" <[EMAIL PROTECTED]>
> To: "ICS support mailing" <twsocket@elists.org>
> Sent: Wednesday, April 13, 2005 11:09 PM
> Subject: Re: [twsocket] Multithreaded http...
>
>
> >
> > ----- Original Message ----- 
> > From: "Francois PIETTE" <[EMAIL PROTECTED]>
> > To: "ICS support mailing" <twsocket@elists.org>
> > Sent: Wednesday, April 13, 2005 10:13 PM
> > Subject: Re: [twsocket] Multithreaded http...
> >
> >
> > > > I'm kinda new in Delphi but i really really need to write some
> > > > application... My application would have some TStringList where it
would
> > > > contain urls... then i wouldlike to process this list in some
threads...
> > > for
> > > > example 100 threads... the thread would get the content of url, run
some
> > > > procedure/s and give the results/s to some other TStringList...
> > >
> > > Well, you don't need multithreading with ICS. ICS is asynchronous and
non
> > > blocking. Except is very special situations, using multithreading will
> > > actually _reduce_ performance, even on a multiprocessor computer. If
you
> > > tell us what you really want to do, we can tell you if multithreading
is
> > > needed or not.
> >
> > I need to constantly gather data form a server about diffrent items ...
that
> > generally what i need... alot of items... the site isnt too user
friendly so
> > i got to copy/cut some things and put them into for example listview...
and
> > when it changes, the data in listview is being updated... for example:
> >
> > http://server.com/showiteminfo.php?itemid=12342352
> >
> > this gives me some html with some table in whitch there is some
information
> > about product ... for example:
> > name: canon 3200f
> > resolution: 2048dpi
> > price: 333$
> >
> > and i need to check alot of items continously so i would be the first
one
> > that knows that the price has changed or something...
> > because there are alot of records to check, i wanted it to be
threaded...
> >
> > thank your for your help...
> > Ann
> >
> >
> >
> > -- 
> > To unsubscribe or change your settings for TWSocket mailing list
> > please goto http://www.elists.org/mailman/listinfo/twsocket
> > Visit our website at http://www.overbyte.be
> >
>
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
>



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

Reply via email to