Re: DHCP renew/release howto ?
Re: DHCP renew/release howto ?
- Subject: Re: DHCP renew/release howto ?
- From: Quinn <email@hidden>
- Date: Fri, 9 Jan 2009 11:24:27 +0000
At 23:18 +0000 22/12/08, Mark Thomas wrote:
Was wondering if anybody can advise on whether the MoreSCF API of
'MoreSCDHCPRelease' is the same as the 'Renew DHCP lease' button, as
sometimes when I have seen the 169.x.x.x address that clicking on the button
doesn't do anything.
System Configuration framework provides a couple of APIs for this:
o SCNetworkInterfaceRefreshConfiguration -- Can't remember when this
was added (probably around 10.3) but it's now deprecated in favour of
the following.
o SCNetworkInterfaceForceConfigurationRefresh -- Added in 10.5.
You should use these rather than the old MoreSCDHCPRelease technique.
That's what the Renew DHCP Lease button does (-:
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden