Readonly
ipReadonly
maskreturns the address's network name, "ip+net".
returns the CIDR notation of n like "192.0.2.0/24" or "2001:db8::/48" as defined in RFC 4632 and RFC 4291.
If the mask is not in the canonical form, it returns the string which consists of an IP address, followed by a slash character and a mask expressed as hexadecimal form with no punctuation like "198.51.100.0/c000ff00".
Generated using TypeDoc
An IPNet represents an IP network.