> I would like a stack to check periodically to see if there is an activecases it will simply dial up automatically.
> online connection. What is the best way to do that?
I'm not aware of a way to do this. The only exception would be if autodial
was disabled or you are connecting to a proxy server with autodial disabled
- attempting to reach a URL should give you an error message. But most
On the Mac you can check the status (and a number of other things) of a PPP connection with the Remote Access Commands OSAX:
-- requires Remote Access Commands OSAX
-- log PPP status
--{state:"idle", �class RAae�:false, seconds connected:0, seconds remaining:-1, user name:"", server name:"", message:"Idle.", protocol:"unknown", baud:"", �class RAis�:true, bytes in:0, bytes out:0}
display dialog the state of (PPP status)
You should be able to determine IP settings via Applescript using the Network Scripting Setup (it's a faceless background application only accessable via Applescript). There is an Applescript Help Guide module on Apple's web site which explains how to access network settings using this software.
R.
************************************************************
Rodney Tamblyn
HEDC, University of Otago, P.O. Box 56, Dunedin, New Zealand
email [EMAIL PROTECTED]
Phone 64 3 479 7580 Fax 479 8577 ICQ 4145098
************************************************************
