On Fri, May 8, 2009 at 10:46 AM, Mr. Gecko <grmrge...@gmail.com> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to