OxL Reference

method IpAddr.anyV6

::: all IPv6 interfaces (and IPv4 ones where the system maps them).

Example:

oxl✓ checked in CI
use std.net { IpAddr }

fn main() io {
  print(IpAddr.anyV6().toString())
}
Output
::
pub(api) static fn anyV6() -> IpAddr

Since. 1.0.0-beta

Returns

IpAddr

Effects

none declared (pure unless the body says otherwise)

Defined in: std/net/net.oxl:191

See also