Re: Getting local IP of Wi-Fi device
Re: Getting local IP of Wi-Fi device
- Subject: Re: Getting local IP of Wi-Fi device
- From: Markus Soelter <email@hidden>
- Date: Wed, 12 Sep 2012 09:07:41 +0200
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@hidden>:
> 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@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
_______________________________________________
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