Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Socket::Ifaddr#dstaddr

ifaddr.dstaddr => addrinfo

Returns the destination address of ifaddr. nil is returned if the flags doesn’t have IFF_POINTOPOINT.

See also #broadaddr #flags #addr #ifindex also in 4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1