Net.Netmask Property

Function:

Sets/returns the netmask of the Ethernet interface of your device.

Type:

String

Value Range:

Any valid netmask, such as "255.255.255.0". Default= "0.0.0.0"

See Also:

net.ip, net.gatewayip

Details

This property can only be written to when no socket is engaged in communications through the Ethernet interface, i.e. there is no socket for which sock.statesimple <> 0- PL_SSTS_CLOSED and sock.currentinterface = 1- PL_INTERFACE_ETHERNET.