soAddrInetSet (Function) |
Top Previous Next |
The soAddrInetSet function will create a socket address with an IP address and port. It is possible to modify an existing socket address with this function, for example to change the port.
Input: host : STRING The IP address. If empty, the IP address will not be set in the socket address.
port : DINT (0..65535, default 0) The IP port number. If zero, the port will not be set in the socket address.
Output: address : STRING The socket address.
Returns: INT
Declaration: FUNCTION soAddrInetSet : INT;
Example:
|