soAddrFromInterface (Function)

Top  Previous  Next

Architecture:

NX32L

Device support:

All

Firmware version:

1.08.00


Get the socket address from a network interface.

 

 

Input:

iface : SINT

The network interface. 1 = Mobile network, 2 = LAN network, etc. (See Network).

 

 

Returns: STRING

The socket address.

 

 

Declaration:

FUNCTION soAddrFromInterface : STRING;
VAR_INPUT
  iface : SINT;
END_VAR;

 

 


Example:

 

Please see the "Examples - Web client"