EasyTCPSocket.SendMessage
From Xojo Documentation
Method
EasyTCPSocket.SendMessage(Command as Int32, Data as String)
Supported for all project types and targets.
Supported for all project types and targets.
Sends a message, consisting of the code command and the text, data.
Notes
Effective with 2017r3, the command parameter is Int32 instead of Integer to prevent incorrect behavior in 64-bit apps.