this didn't work?
err =
NetLibSettingSet(AppNetRefnum,netSettingSecondaryDNS,&(yourDNS2NumberHere),s
izeof(DWord));
-----Original Message-----
From: Eugene Chin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 04, 2001 3:34 PM
To: Palm Developer Forum
Subject: Changing DNS servers after connected
Is there a way to change DNS servers programatically after the connection
has been established? Say on a Palm V running OS 3.5, after connecting
via Palm V modem to the ISP, I would like to programatically change the IP
address of the primary and secondary DNS servers. I have tried using
NetLibSettingSet to change the PrimaryDNS and SecondaryDNS settings, but
that has no effect.
Any ideas?
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/