ForceReboot Required?
ForceReboot Required?
I'm trying to go between DHCP and static IP addressing (and back) in my code. Is a ForceReboot() pretty much required as is done within NNDK's udp.cpp?
Re: ForceReboot Required?
Not necessarily. That said, you will want to *MANUALLY* manage your DHCP settings. No calls to GetDHCPIfNecessary. Take a look at the ChangeIP example under 'StandardStack/DHCP/ChangeIP'. This is written for precisely this scenario.
-Dan
-Dan
Dan Ciliske
Project Engineer
Netburner, Inc
Project Engineer
Netburner, Inc
Re: ForceReboot Required?
I have looked at that example and I have handled the Start/StopDHCP() manually, but my code constantly crashes now. Perhaps I need to look closer at the timing/order/code location of my IP changes.