Arexx (7/109)

From:Mike Cardwell
Date:16 Aug 99 at 16:41:15
Subject:Re: Loop Until Online

From: Mike Cardwell <mickeyc@ukonline.co.uk>

On 16-Aug-99, Alex Tucker wrote about:
Subject: Re: Re: Loop Until Online

>>> Hmm...I would maybe try to test for the bsdsocket.library. If it
>> isn't
>>> found, then assume you are offline....when you start a TCP/IP stack,
>>> bsdsocket.library should be created.
>> That only shows the stack is running, not whether it is online. Check
>> the docs for your TCP stack, Miami, MiamiDx and Genesis all have arexx
>> commands to test whether a particular interface is online.

I just made it try and check for a certain URL every 6 seconds, until it
could be accessed. I got rid of the requestor for TCP: by sticking
PRAGMA("W","N") at the beginning of the script. This way it works
independent of which TCP stack you're using. It should even work with
Termite TCP. Thanks anyway everyone.

Regards,
Mike Cardwell.



Origin: Grimsby / England
mickeyc@ukonline.co.uk

--------------------------- ONElist Sponsor ----------------------------

ONElist now brings ICQ Instant Messaging to members
For details,
<a href=" http://www.onelist.com/info/news.html ">Click Here</a>

------------------------------------------------------------------------
ARexx mailing list - No flames, no overquoting, no crossposting. Unsubscribe: Blank mail to mailto:arexx-unsubscribe@onelist.com