.ip Property

Function:

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

Type:

Dot-decimal string

Value Range:

Any IP address, such as "192.168.100.40" (default = "1.0.0.1").

See Also:

net.gatewayip, 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.


.ip Property

Details