Re: Forcing DHCP release/renewal? (OS X)
Re: Forcing DHCP release/renewal? (OS X)
- Subject: Re: Forcing DHCP release/renewal? (OS X)
- From: Quinn <email@hidden>
- Date: Tue, 21 May 2002 15:12:43 +0100
At 16:06 -0700 15/5/02, Joe Kelly wrote:
Someone asked a similar question back in February, but there never came a
definitive answer.
On Classic OS, I make a call to DHCPReleaseDatabase() in
NetworkSetupHelpers, which unloads/reloads TCP/IP.
On Mac OS X 10.1 and above you can use SCF to do this. MoreSCF
implements a routine (MoreSCDHCPRelease in "MoreSCFHelpers.h") that
shows how.
<
http://developer.apple.com/samplecode/Sample_Code/Networking/MoreSCF.htm>
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
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.