sockGetLocalIP (Function) |
Top Previous Next |
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 Mobile network.
Input: iface : SINT (default 1) The network interface to query. 1 = Mobile network, 2 = LAN network, etc. (See Network) Note: For backwards compatibility the Mobile 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:
|