[swift-corelibs-dev] NSHost.current()

2016-06-02 Thread Sai Kanduri via swift-corelibs-dev
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 g

[swift-corelibs-dev] NSHost.current()

2016-06-02 Thread Sai Kanduri via swift-corelibs-dev
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 g