Skip to content
instance method

IPAddr#ipv4_mapped

() -> ::IPAddr
ipv4_mapped

Returns a new ipaddr built by converting the native IPv4 address into an IPv4-mapped IPv6 address.

See also #ipv4_mapped? #ipv4_compat? #ipv4_compat #ipv6? also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0