• 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
Re: Jaguar and PPPLIB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Jaguar and PPPLIB


  • Subject: Re: Jaguar and PPPLIB
  • From: <email@hidden>
  • Date: Tue, 29 Oct 2002 20:58:17 +0000
  • Organization: Coderus Ltd

Hi Rich,
This is very weird, but now all works fine, but I remember clearly it not
working, but I cannot reproduce the failure, but thanks for the pointers.

Out of interest is there a way I can override the telephone numbers
(primary and alternate) in the network preference using the PPPSetOption
???, as I would be very interested in this, as presently I am changing the
preferences which is heaps of code.

Thanks in advance
Mark.

------------------------------------------

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.

  • Follow-Ups:
    • Re: Jaguar and PPPLIB
      • From: Rich Kubota <email@hidden>
    • Re: Jaguar and PPPLIB
      • From: Christophe Allie <email@hidden>
References: 
 >Re: Jaguar and PPPLIB (From: Rich Kubota <email@hidden>)

  • Prev by Date: recvfrom() problem
  • Next by Date: Detecting the OS is going to Dial
  • Previous by thread: Re: Jaguar and PPPLIB
  • Next by thread: Re: Jaguar and PPPLIB
  • Index(es):
    • Date
    • Thread