gettingstarted
[Top] [All Lists]

Re: To yield or not to yield ?

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: To yield or not to yield ?
From: Phil M <phil at mobleybros dot com>
Date: Fri, 24 Feb 2006 08:24:51 -0800
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <C1EC0390-A18E-4197-8BD6-8E3A9651D95D at pcisys dot net> <d9793ab292d6472b89e9542ddf052860 at declareSub dot com> <p0623090dc02467c9b7d0 at [192 dot 168 dot 0 dot 2]>
On Feb 23, 2006, at 11:41 PM, FreeFL wrote:

Whenever the url is not available (typically when the DSL router is switched off), my app hangs infinitely on the .get method, whatever value I give to the Timeout parameter.
What should I do to learn the result and let the app run further ?

Use events by dragging the HTTPSocket directly into the Window, or by creating a HTTPSocket subclass. If the network connection is down for any reason (including router), you will get notification immediately in the Error() event; usually with a code 103 (Name Resolution Error).

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


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