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