On Aug 31, 2004, at 5:13 PM, Frank Lfr wrote:
I'm just trying to test download times for URLs in succession, but
each must
run to completion before the other can start. I haven't been able to
do
that in RealBasic using the HTTPSocket class. If I run
asynchronously, it
just kills the previous download and starts over with the next one
(which is
also killed by the next one .. only the last one runs).
Well, you have to wait for one download to end before starting another
one. Other than that, it should work fine to use asynchronous
HTTPSockets. One way to achieve this is to make an array of URLs to
fetch. Then, when you get the event that one page has been completely
fetched, you go to the next URL in the array.
--
REALbasic database options: http://sqlabs.net
REALbasic news and tips: http://rbgazette.com
KidzMail & KidzLog: http://haranbanjo.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|