xcon.SendText (plain string over socket connection)
Description
This function can be used to send data via an established connection.
Signature
bool xcon.SendText (plain string over socket connection) (string, string)Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
string | M | Handle that identifies the connection within the LUA script. | |
string | M | Data to be sent |
Return
Type | Description |
---|---|
bool | true when server is initialized, otherwise false. |