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
stringMHandle that identifies the connection within the LUA script.
stringMData to be sent
stringMthe IP address or host name of the remote server.
numberMthe remote port that is used to connect to.

Return

Type Description
booltrue when server is initialized, otherwise false.