EasyUDPSocket.ReceivedMessage

From Xojo Documentation

Event


EasyUDPSocket.ReceivedMessage(fromIP As String, command As Int32, data As String)

Supported for all project types and targets.

A new complete message, consisting of an identifying integer, command, and the text data, has been received from the computer with FromIP IP address.

Notes

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

Both fromIP and data strings both have no encoding set. If you know the encoding, you should use DefineEncoding to set it.