(Sai Kanduri) #1

Hi All,

I am trying to implement the NSHost.current() .The c function getifaddrs() is invisible to NSHost and hence we cannot use that . The same implementation on OSx gives the following the output :

Basically it gives all the details pertaining to the current host.

So I tried to get the details using getaddrinfo(“”,…) / gethostbyname(“localhost”) and am only able to get localhost / from the address list .

Please let me know if there are any options to getifaddrs()

Thanks & Regards,

Sai Hema