.Gatewayip Property

Top  Previous  Next

Function:

Sets/returns the IP address of the default gateway for the Wi-Fi interface of your device.

Type:

Dot-decimal string

Value Range:

Any IP address, such as "192.168.1.1". Default= "0.0.0.0".

See Also:

Setting IP, Gateway, and Netmask

wln.ip, wln.netmask

 


Details

This property can only be written to when no socket is engaged in communicating 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.