soAddrLookup (Function) |
Top Previous Next |
Resolve an IP address, like "80.62.33.111", or a symbolic name, like "domain.com", to a socket address.
Input: str : STRING IP address (in dotted format "aaa.bbb.ccc.ddd" or symbolic "domain.xyz").
iface : SINT (default 0) The network interface to use. 0 = Default, 1 = Mobile network, 2 = LAN network, etc. (See Network)
Output: address : STRING The socket address.
Returns: INT
Declaration: FUNCTION soAddrLookup : INT;
Example:
INCLUDE rtcu.inc |