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 :
> Hello List,
>
> I'm looking for a way to get the IP address of the Wi-Fi device. For some
> reason, [NSHost cu
Thanks, this looks promising!
On Sep 12, 2012, at 4:39 PM, Keary Suska wrote:
> On Sep 12, 2012, at 12:56 AM, Tamas Nagy wrote:
>
>> 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
On Sep 12, 2012, at 12:56 AM, Tamas Nagy wrote:
> 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.
NSHost is not likely what you are looking for. It is basically an Object
NSHost addresses gives me an array with only one object, which contains the
IPv6 address.
2012/9/12 Kyle Sluder
> On Sep 11, 2012, at 11:56 PM, Tamas Nagy wrote:
>
> > Hello List,
> >
> > I'm looking for a way to get the IP address of the Wi-Fi device. For
> some reason, [NSHost currentHost]… g
Thanks, it seems to be my first met of an IPv6 address. :)
2012/9/12 Markus Soelter
> 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 :
>
> > Hello Li
On Sep 11, 2012, at 11:56 PM, Tamas Nagy wrote:
> 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.
That's an IPv6 address. Congratulations, you have now
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 (Cocoa-dev@lists.apple.com)