|
sockGetLocalIP (Function) |
|
Returns the 32 bit IP address of the local IP address (the IP address of the RTCU).
Note: For backwards compatibility, if no interface is selected the function returns the IP address of the Cellular network.
Input: iface : SINT (default 1) The network interface to query. 1 = Cellular network, 2 = LAN network, etc. (See Network) Note: For backwards compatibility the cellular network is used as default network.
Returns: DINT Returns the 32 bit local IP address (the IP address of the RTCU).
Declaration: FUNCTION sockGetLocalIP : DINT; VAR_INPUT
Example:
|