Re: Jaguar and PPPLIB
Re: Jaguar and PPPLIB
- Subject: Re: Jaguar and PPPLIB
- From: Rich Kubota <email@hidden>
- Date: Mon, 28 Oct 2002 17:45:05 -0800
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.
--
Sincerely,
Rich Kubota
email@hidden
(408) 974-6212
_______________________________________________
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.