Re: Getting the private IP
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