Re:Detecting the OS is going to Dial
Re:Detecting the OS is going to Dial
- Subject: Re:Detecting the OS is going to Dial
- From: Sak Wathanasin <email@hidden>
- Date: Tue, 29 Oct 2002 23:39:13 +0000
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.