Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:Detecting the OS is going to Dial



In reply to <email@hidden>'s message of the 29/10/2002 at 21:03 +0000,


Does any know if it possible to detect from a separate process, that
another process is initiating a dial up to happen, and then being able to
check the settings, maybe change them, and let the dial continue.

Is this for OSX? Pre-X, I wrote a small stream module that I pushed on top of the PPP module (using Quinn's Auto-push sample code as a basis). A companion appl (bg-only) then registered with this stream module and was notified whenever the PPP was opened or closed. It could then do whatever it needed to do before allowing the open to continue. My client (an ISP) wanted to dynamically select the phone number to dial depending on time of day etc.

You may be able to use a pcap filter under OSX to do something similar.

--
Sak Wathanasin
Network Analysis Limited http://www.network-analysis.ltd.uk

Phone: (+44) 24 76 41 99 96 Mobile: (+44) 79 70 75 19 12 Fax: (+44) 24 76 69 06 90
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.
References: 
 >Detecting the OS is going to Dial (From: <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.