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).
----- Original Message -----
From: "Will Leshner" <leshner at ljug dot com>
To: "Getting Started" <gettingstarted at lists dot realsoftware dot com>
Sent: Tuesday, August 31, 2004 11:46 AM
Subject: Re: Running Events in HTTPSocket
On Aug 31, 2004, at 11:37 AM, Frank Lfr wrote:
> I've tried to set the timeout longer, but it still won't run any events
> (even ReceiveProgress) if I call the instance using http.get
> (testURL(i),60)
> format within my loop. The only way I can run events is if I call the
> instance asynchronously (which isn't what I'm trying to do). Is there
> any
> way to run events synchronously using a timeout value?
>
To be honest, I wouldn't think you can get events if you run
synchronously. Why can't you just run asynchronously?
--
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>
_______________________________________________
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>
|