Method Val.Inet()->create()
- Method
create
Val.Inet Val.Inet(
int
ip
,void
|int
masklen
)
Val.Inet Val.Inet()
- Parameter
ip
An IPv4 or IPv6 ip address.
- Parameter
masklen
Defines the netmask, always in the range between
0
and128
; i.e. for IPv4 addresses you should add12 * 8
to the actual IPv4-masklen.
- Method
create
Val.Inet Val.Inet(
string
ip
)- Parameter
ip
A string defining an IPv4 or IPv6 address with an optional
masklen
attached. If the address is in IPv6 notation, the range of themasklen
is expected to be between0
and128
. If the address is in IPv4 notation, the range of themasklen
is expected to be between0
and32
.