Hi tamas [[nshost currenthost] address] should either return an IPv4 or an IPv6 address (you probably saw an IPv6)
Von unterwegs gesendet Am 12.09.2012 um 08:58 schrieb Tamas Nagy <[email protected]>: > Hello List, > > I'm looking for a way to get the IP address of the Wi-Fi device. For some > reason, [NSHost currentHost]… gives me something like a MAC address, instead > of an IP on 10.8. > > Thanks, > > Tamas > _______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/luckystrik3%40gmail.com > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
