Re: Getting local IP of Wi-Fi device

2012-09-13 Thread 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 List, > > I'm looking for a way to get the IP address of the Wi-Fi device. For some > reason, [NSHost cu

Re: Getting local IP of Wi-Fi device

2012-09-12 Thread Tamas Nagy
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

Re: Getting local IP of Wi-Fi device

2012-09-12 Thread Keary Suska
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

Re: Getting local IP of Wi-Fi device

2012-09-12 Thread Tamas Nagy
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

Re: Getting local IP of Wi-Fi device

2012-09-12 Thread Tamas Nagy
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

Re: Getting local IP of Wi-Fi device

2012-09-12 Thread 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]… gives me something like a MAC address, instead > of an IP on 10.8. That's an IPv6 address. Congratulations, you have now

Getting local IP of Wi-Fi device

2012-09-11 Thread Tamas Nagy
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)