Stringer wrote:
> After studying the documentation and running through the KB, 
> I'm at a loss to figure out how to simply change the Network Service
> from one to another (defined) service and have all the current
> settings of the other Service replace the current one.
> 
> Good example is switching between a dial-up service type and
> a network cradle service type.

 >
 > I can use the NetLibIFSettingSet() API call to set each individual
 > parameter of the service, but I haven't found an API call to switch
 > in a alternate, defined service.

It sounds like you're looking for NetLibIFGet(), followed by 
NetLibIFAttach() or NetLibIFSettingsGet().

  Iterate over the range of existing interface indices with 
NetLibIFGet() and query them with  NetLibIFSettingsGet() to see if 
you've found the droid you're looking for, then make it the active 
interface with NetLibIFAttach().
Your loop should also test against NetLibIFGet() returning 
netErrInvalidInterface to make sure you haven't looked at all of them.

HTH,
'dillo


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to