• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Monitoring PPP with SCNetworkConnectionCreateWithServiceID
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: AirPort SDk
  • Next by Date: mystified by PackageMaker
  • Previous by thread: Re: AirPort SDk
  • Next by thread: mystified by PackageMaker
  • Index(es):
    • Date
    • Thread