Monitoring PPP with SCNetworkConnectionCreateWithServiceID
Monitoring PPP with SCNetworkConnectionCreateWithServiceID
- Subject: Monitoring PPP with SCNetworkConnectionCreateWithServiceID
- From: "bc" <email@hidden>
- Date: Thu, 22 Jun 2006 14:12:52 -0700
- Importance: Normal
Is it possible to use SCNetworkConnectionCreateWithServiceID to monitor
events on a PPP connection made outside of your application (via "Internet
Connect" for instance)?
It doesn't seem to work for me.
If I use this call to create a connection reference and then make the
connection myself, my application callback gets called with state change
results. However, if I make this connection reference as follows:
connection = SCNetworkConnectionCreateWithServiceID(NULL,
foundServiceID,__PPPCallback, &context);
My "__PPPCallback" function never gets called if the connection has already
been made outside of my program for service/location specified by
foundServiceID.
Do I really need to poll status to implement a connection monitor for PPP or
am I missing something?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden