xcon.SendTextTo
Description
This function can be used to send data via an established connection.
Signature
bool xcon.SendTextTo (string, string, string, number)Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
string | M | Handle that identifies the connection within the LUA script. | |
string | M | Data to be sent | |
string | M | the IP address or host name of the remote server. | |
number | M | the remote port that is used to connect to. |
Return
Type | Description |
---|---|
bool | true when server is initialized, otherwise false. |