UDPSocket.Read
From Xojo Documentation
Method
Returns a Datagram from the internal receive buffer.
Notes
The address property of the Datagram is the remote address from which the data was sent. The optional Encoding parameter enables you to specify the text encoding of the data to be returned. Use the Encodings module to specify a text encoding.