• 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
Correct way to determine machine LAN ip
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Correct way to determine machine LAN ip


  • Subject: Correct way to determine machine LAN ip
  • From: Arthur VIGAN <email@hidden>
  • Date: Sat, 29 Mar 2003 19:07:25 +0100

I am designing a very simple application on Mac OS X, and I would like to determine the machine LAN ip...

I first tried to use NSHost, but once it has been used, it alsways sends the same address, even if I disconnect or change the ip. Even if I send a [NSHost setHostCacheEnabled:NO] message, nothing changes.

Is there another way to determine the ip address (not necessarily using Objective-C and Cocoa)?

Thanks a lot in advance.

-- Arthur
_______________________________________________
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.

  • Follow-Ups:
    • Re: Correct way to determine machine LAN ip
      • From: Quinn <email@hidden>
    • Re: Correct way to determine machine LAN ip
      • From: Justin Walker <email@hidden>
  • Prev by Date: Bandwidth Limiting
  • Next by Date: Re: Correct way to determine machine LAN ip
  • Previous by thread: Re: Bandwidth Limiting
  • Next by thread: Re: Correct way to determine machine LAN ip
  • Index(es):
    • Date
    • Thread