• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Forcing DHCP release/renewal? (OS X)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Forcing DHCP release/renewal? (OS X) (From: Joe Kelly <email@hidden>)

  • Prev by Date: Re: Developing AFP UAM (User Authentication Module) for Mac OS X ?
  • Next by Date: Re(2): URL Access performance tuning
  • Previous by thread: Re: Using the broadcast address
  • Next by thread: Quinn's ICconfig: setting News Server
  • Index(es):
    • Date
    • Thread