PPP_EVENT
PPP_EVENT
- Subject: PPP_EVENT
- From: Halit Özüberk \(ProDyne\) <email@hidden>
- Date: Thu, 16 Jun 2005 14:57:18 +0200
- Thread-topic: PPP_EVENT
MAC_OS_X 10.3
My application needs to be notified when the PPP-connection is closed (for whatever reason).
ppp_msg.h has some constants that sound like they should do what I want:
PPP_ENABLE_EVENT,
PPP_DISABLE_EVENT,
PPP_EVENT,
// events
enum {
PPP_EVT_DISCONNECTED = 1,
PPP_EVT_CONNSCRIPT_STARTED,
PPP_EVT_CONNSCRIPT_FINISHED,
PPP_EVT_TERMSCRIPT_STARTED,
PPP_EVT_TERMSCRIPT_FINISHED,
PPP_EVT_LOWERLAYER_UP,
PPP_EVT_LOWERLAYER_DOWN,
PPP_EVT_LCP_UP,
PPP_EVT_LCP_DOWN,
PPP_EVT_IPCP_UP,
PPP_EVT_IPCP_DOWN,
PPP_EVT_AUTH_STARTED,
PPP_EVT_AUTH_FAILED,
PPP_EVT_AUTH_SUCCEDED
};
(I'm already using ppplib for establishing the connection and closing it)
How should I receive those events?
Thank'''ssss
_______________________________________________
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