gettingstarted
[Top] [All Lists]

Re: Running Events in HTTPSocket

To: <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Running Events in HTTPSocket
From: "Frank Lfr" <franklfr at hotmail dot com>
Date: Tue, 31 Aug 2004 11:37:21 -0700
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <20040831163938 dot D030E41E040 at lists dot realsoftware dot com>
>>1) When I call an instance of the HTTPSocket class by dragging the
>>control onto a window and then calling it, I can't seem to get my
>>custom events to trigger (like PageReceived).  I call it this way:
>>Call http.get (testURL(i),60).

>You've specified a timeout of 60 seconds.  It's possible that the
>page you're getting takes longer than 60 seconds to retrieve.  Be
>sure to implement the other HTTPSocket events (like ReceiveProgress
>and Error), so you can tell what's going on.

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?

Thanks,

Frank 
_______________________________________________
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>

<Prev in Thread] Current Thread [Next in Thread>