OxL Reference

method IpAddr.any

0.0.0.0: all IPv4 interfaces.

Example:

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

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

Since. 1.0.0-beta

Returns

IpAddr

Effects

none declared (pure unless the body says otherwise)

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

See also