From: | Alex Tucker |
Date: | 16 Aug 99 at 12:51:23 |
Subject: | Re: Re: Loop Until Online |
From: Alex Tucker <yodare@calweb.com>
Oh yeah...OR you could do it Neil's way. ;-)
Alex -< Team *AMIGA* / Member CUCUG / Member AmigaZone >-
UIN: 2463522 http://www.amigaicq.com
At 03:39 PM 8/15/99 +0100, Neil Bothwick wrote:
>Alex Tucker said,
>
> > 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.
>
>e.g.
>
>options results
>address 'MIAMI.1'
>'isonline'
>if RC = 5 then say 'Miami is online'
>
>
>Neil
>--
>Neil Bothwick - http://www.wirenet.co.uk icq://16361788
>Connected via Wirenet, The UK's first Amiga-only internet access provider
--------------------------- ONElist Sponsor ----------------------------
ATTN ONELIST USERS: stay current on the latest activities,
programs, & features at ONElist by joining our member newsletter at
<a href=" http://www.onelist.com/subscribe/onelist_announce ">Click</a>
------------------------------------------------------------------------
ARexx mailing list - No flames, no overquoting, no crossposting. Unsubscribe: Blank mail to mailto:arexx-unsubscribe@onelist.com