EasyUDPSocket.SendMessageToIndividual

From Xojo Documentation

Method

EasyUDPSocket.SendMessageToIndividual(IPAddress As String, command As Int32, data As String)

Supported for all project types and targets.

Sends a message consisting of command and data to the machine having the IP address specified by IPAddress.

Notes

Effective with 2017r3, the command parameter is Int32 instead of Integer to prevent incorrect behavior in 64-bit apps.

The text encoding is not sent to the other application. So if you want to preserve text encoding, you should use ConvertEncoding to e.g. UTF-8 before sending the string and use DefineEncoding when you receive a message to restore the text encoding.