• 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: Getting the private IP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the private IP


  • Subject: Re: Getting the private IP
  • From: Michael Ash <email@hidden>
  • Date: Fri, 8 May 2009 12:20:47 -0400

On Fri, May 8, 2009 at 10:46 AM, Mr. Gecko <email@hidden> wrote:
> Hello, I'm trying to find out how to get the private IP address.

If I understand your code correctly, you're trying to get the loopback
address? No need for all of this, then. The IPv4 loopback address is
127.0.0.1 by definition. The IPv6 loopback address is ::1 by
definition. There is no need to look them up, because they are defined
in the standard and cannot change.

Mike
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Getting the private IP (From: "Mr. Gecko" <email@hidden>)

  • Prev by Date: Re: Converting NSString to C++ std::string
  • Next by Date: Re: [Q] Correct way to identify an application, Launch Services, & Spaces
  • Previous by thread: Getting the private IP
  • Next by thread: Re: Getting the private IP
  • Index(es):
    • Date
    • Thread