|
Net.Ip Property |
Top Previous Next |
Function: |
Sets/returns the IP address of the Ethernet interface of your device. |
Type: |
Dot-decimal string |
Value Range: |
Any valid IP address, such as "192.168.100.40". Default= "1.0.0.1" |
See Also: |
Details
If invalid IP addresses is specified it will be automatically corrected to the nearest valid IP-address. For example, "192.168.100.0" will be corrected to "192.168.100.1", "192.168" to "192.168.0.1", etc.
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.