2013/3/25 naruse (Yui NARUSE) <naruse / airemix.jp>: >> It seems we need Socket.getifaddrs. > > Sure, but what is the type of its return value? > Extended Addrinfo or a new object like Ifaddr? I think it should have new class. Addrinfo has bunch of methods for a struct sockaddr. But struct ifaddrs has multiple pointers to struct sockaddr. It is difficult to deal with them fairly. -- Tanaka Akira