xcon.CreateTCP
Description
This function creates a TCP socket in LUA.
Signature
xcon.CreateTCP (string, string, number, string, number)
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
string | M | Handle that identifies the connection within the LUA script. | |
string | M | the IP address of the local interface. If empty, the IP is detected by the system. | |
number | M | the local port that is used for the connection. If zero, the system selects one. | |
string | M | the IP address or host name of the remote server. | |
number | M | the remote port that is used to connect to. |
Return
None.