xcon.SendTo

Description

This function can be used to send data via an established connection.

Signature

bool xcon.SendTo (string, string, number, string, number)

Parameters

Name Type Mandatory/Optional Description
stringMHandle that identifies the connection within the LUA script.
stringMData to be sent
numberMnumber of characters 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.