.Netmask Property

Top  Previous  Next

Function:

Sets/returns the netmask of the Wi-Fi interface of your device.

Type:

Dot-decimal string

Value Range:

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

See Also:

Setting IP, Gateway, and Netmask

wln.ip, wln.gatewayip

 


Details

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