Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Jaguar and PPPLIB



Hi,
Hmmmm interesting point, I thought the PPPLib API would just use the
current modem settings (Network System Preference), as it has been doing in
10.1.5, this is why I got the Link from the serviceID (which points to the
current modem settings).

So I why would this be now different to 10.1.5 ???. Do I need to call
something to tell it use the network preference in Jaguar ???.

Thanks
Mark.

> Mark,
>
> We tried your sample here, and it worked for us. The one difference is that
> we can't see the rest of your code - like whether the phone number, user id or
> the password is being set properly.
>
> My guess is that there are the PPPSetOption calls which are not present. Is
> it possible that one of the following options might not have been set
>
> PPP_OPT_COMM_REMOTEADDR
> PPP_OPT_DEV_DIALMODE
>
> Rich
>
> At 8:03 PM +0000 10/28/02, email@hidden wrote:
>> Hi All,
>> Well converted over to use PPPlib to monitor the call tracking and all is
>> well, so I thought, as I did all my development on 10.1.5 using CW 7, and
>> everything working great
>>
>> But I have found that on 10.2.1, my code doesn't work, as I fail to start
>> a connection : -
>>
>> int sock;
>> PPPInit(&sock);
>> PPPGetLinkByServiceID(sock,mSetID,&mLink);
>> PPPDispose(sock);
>>
>> ...
>> ...
>>
>> int gConnectSocket;
>> PPPInit (&gConnectSocket);
>> PPPConnect( gConnectSocket, mLink );
>>
>> ..
>> ....
>>
>> No connection initiates, any ideas why it is different on 10.2.1, I
>> thought by using PPPGetLinkByServiceID, I would always get the right link
>> interface, so I thought it would future proof it. I know the setting are
>> correct, as manually connecting works fine.
>>
>> I cannot debug this as I cannot build a mach-o application on 10.2.1, as CW
>> seems to have a problem with reading the frameworks which is definitely
>> unfortunate.
>>
>> Thanks in advance
>> Mark.
>> _______________________________________________
>> 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.
_______________________________________________
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: Jaguar and PPPLIB (From: Rich Kubota <email@hidden>)



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.