• 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
PPP Event Notifications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PPP Event Notifications


  • Subject: PPP Event Notifications
  • From: Todd Casey <email@hidden>
  • Date: Wed, 19 Nov 2003 13:33:16 -0800 (PST)

I have seen in this list that there seems to be a
problem with consistency receiving the PPP events when
using Open Transport.

I need a consistent/dependable method for knowing when
a successful connection has been established and also
when a successful disconnect has occurred.

I have CC_OPT_GETMISCINFO working and see how this
could possibly work. Is this the only option? What is
the best way to implement this type of "polling"?

I am looking for a method that will work for OS
8.6-10.2. Is this possible. Any help, information, or
suggestions would be greatly appreciated.

From my testing:

OS 10.2.8
<connect events>
kPPPConnectCompleteEvent result(1) cookie(0)
kPPPDCEInitStartedEvent result(0) cookie(0)
kPPPDCEInitFinishedEvent result(0) cookie(0)
kPPPLowerLayerUpEvent result(0) cookie(0)
kPPPLCPUpEvent result(0) cookie(0)
kPPPAuthenticationStartedEvent result(0) cookie(0)
kPPPAuthenticationFinishedEvent result(0) cookie(0)
kPPPIPCPUpEvent result(0) cookie(0)

<disconnect events>
kPPPDisconnectCompleteEvent result(1) cookie(0)
kPPPIPCPDownEvent result(0) cookie(0)
kPPPLCPDownEvent result(0) cookie(0)
kPPPLowerLayerDownEvent result(0) cookie(0)
kPPPDisconnectEvent result(0) cookie(0)


OS 8.6
<connect events>
kPPPConnectCompleteEvent result(0) cookie(1)
kPPPDCECallStartedEvent result(0) cookie(0)
kPPPLowerLayerUpEvent result(0) cookie(0)
kPPPConnectCompleteEvent result(0) cookie(0)

<disconnect events>
kPPPDisconnectCompleteEvent result(0) cookie(1)
kPPPIPCPDownEvent result(0) cookie(0)
kPPPLCPDownEvent result(0) cookie(0)
kPPPLCPDownEvent result(0) cookie(0)
kPPPLowerLayerDownEvent result(0) cookie(0)
kPPPDisconnectCompleteEvent result(0) cookie(0)

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
_______________________________________________
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.

  • Prev by Date: Re: macnetworkprog digest, Vol 3 #585 - 5 msgs
  • Next by Date: Re: Memory Leak with CFSocket objects(Resolved)
  • Previous by thread: Re: macnetworkprog digest, Vol 3 #585 - 5 msgs
  • Next by thread: Re: Memory Leak with CFSocket objects(Resolved)
  • Index(es):
    • Date
    • Thread