From: Tanaka Akira Date: 2013-03-27T10:40:22+09:00 Subject: [ruby-core:53754] Re: [ruby-trunk - Bug #8159] Build failure introduced by Rinda changes 2013/3/26 Tanaka Akira : >> >> 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. One more point for new class: Addrinfo is possible to marshal now but struct ifaddrs is impossible to marshal because we don't know about internal of ifa_data. -- Tanaka Akira