Arexx (4/109)

From:Neil Bothwick
Date:15 Aug 99 at 15:39:48
Subject:Re: Loop Until Online

From: "Neil Bothwick" <neil@wire.net.uk>

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


I am Barney of Borg: I love you. You love me. We're a happy Borg.

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

GET WHAT YOU DESERVE! A NextCard Platinum VISA: DOUBLE Rewards points,
NO annual fee & rates as low as 9.9 percent FIXED APR.
Apply online today! http://www.onelist.com/ad/nextcard1

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