Hello Chi,
Without seeing your code and the exact results, I'm left fumbling in the
dark. But since no one else has responded, let me fumble away <g>
Are you sure that the PPP interface is not being loaded? You might try
iterating through the interfaces after calling NetLibOpen. I have code
that does this if you need it. Also, what is the value of ifErrs after
NetLibOpen? A non-zero value would indicate that one or more interfaces
failed to load, perhaps PPP is one of them. Lastly, have you set PPP to be
the default interface in the network preferences panel and then tried to
open? Unless there's a really good reason, you'd probably want to leave
the configuration of the network connection out of your application.
Hope this helps.
Regards,
Greg
> Before I call NetLibOpen, I want to set network interface, programatically.
> I use NetLibIFAttach to attach an new interface and the creator equals
> netIFCreatorPPP, Also use NetLibIFSettingSet to set parameters.
> However, it does not work!!
> When I call NetLibOpen, it still open the old default network interface.
>Is this wrong procedure or I must have missed something. Please help.
>Thank you very much.
Greg Winton
Bachmann Software and Services, LLC
http://www.bachmannsoftware.com
Home of Bachmann Print Manager, the only graphical printing solution for
the PalmOS
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html