| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi,---
Thanks for that, I have fixed up the code so I try to connect and
disconnect, which works great, but I don't get any of the extra message I
asked for so I can update how the connection is going (I have a status
window)
EndpointRef endPoint =
::OTOpenEndpointInContext(OTCreateConfiguration(kPPPControlName),0, nil,
&result, NULL );
// We need to install an event tracker for the progress
OTInstallNotifier(endPoint, NewOTNotifyUPP((OTNotifyProcPtr)notifyProc),
(void*) pDialog);
OTSetAsynchronous(endPoint);
::OTIoctl( endPoint, I_OTGetMiscellaneousEvents, (void*)1 );
// Initiate the connection then
::OTIoctl ( endPoint, I_OTConnect, NULL );
Is this what you were implying ???. The messages I'm using in 9.x are
case kPPPDCEInitStartedEvent:
case kPPPDCECallFinishedEvent:
case kPPPDCECallStartedEvent:
case kPPPLowerLayerUpEvent:
case kPPPAuthenticationStartedEvent:
case kPPPAuthenticationFinishedEvent:
case kPPPIPCPUpEvent:
case kPPPConnectCompleteEvent:
Any ideas, or do I have to go a separate route now ???.
Thanks
Mark.
At 11:59 PM +0100 9/30/02, <email@hidden> wrote:_______________________________________________Will I be able to re-use my code from MacOS 9.x for initiating a connection
via
::OTIoctl ( endPoint, I_OTConnect, NULL );
[snip]
Or do I need to do something else now for MacOS - X, I can tell that I need
something else for setting up the configuration.
You should be able to reuse at least some of this code. Initiating
and closing a connection should be the same.
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.
| References: | |
| >Re: Is PPP connected (From: <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.