Net.Gatewayip Property

Top  Previous  Next

 

Function:

Sets/returns the IP address of the default gateway for the Ethernet interface of your device.

Type:

String

Value Range:

Any valid IP address, such as "192.168.100.40". Default= "127.0.0.1"

See Also:

net.ip, net.netmask

 


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.