From: | Alex Tucker |
Date: | 15 Aug 99 at 13:03:04 |
Subject: | Re: Loop Until Online |
From: Alex Tucker <yodare@calweb.com>
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.
There might be an even EASIER way, but I'm not sure.
Alex -< Team *AMIGA* / Member CUCUG / Member AmigaZone >-
UIN: 2463522 http://www.amigaicq.com Join the List!
BoingCoins! http://www.allthingsamiga.com/boingcoin.html
At 12:40 PM 8/15/99 +0100, you wrote:
>From: Mike Cardwell <mickeyc@ukonline.co.uk>
>
>Hello All,
>
>Forgive me if there is an easy solution to my problem. I am _very_ new at
>Arexx programming. All I need, is for an arexx script to wait until I go
>online. Completely independent of any other program. I'm currently using
>this:
>
>DO UNTIL online=-1
> online=-1
> IF ~OPEN("test","TCP:SMTP/25","RW") THEN DO
> online=0
> ADDRESS COMMAND "Wait 5"
> END
>END
>
>I know that there is probably a much shorter way of doing this. My main
>problem with it however is that a requestor asking for TCP: pops up every 5
>seconds when I don't have my TCP stack loaded.
>
>Don't worry. I'm going to download an Arexx guide in a minute. I will get
>better. ;)
>
>Regards,
>Mike Cardwell.
>--
>Origin: Grimsby / England
>mickeyc@ukonline.co.uk
>
>
>--------------------------- 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
--------------------------- ONElist Sponsor ----------------------------
ONElist: your connection to like-minds and kindred spirits.
------------------------------------------------------------------------
ARexx mailing list - No flames, no overquoting, no crossposting. Unsubscribe: Blank mail to mailto:arexx-unsubscribe@onelist.com