UDp datagram

I am attempting to get a uDp packet that is sent from .net to an arduino board. I want the xojo app to pickup the broadcasted packet. I’ve read the documentation and watched several videos. How do you parse a datagram array in xojo?

A datagram has Data property which is simply a string, or as someone here is fond of saying, a bag of bytes. A string doesn’t have to be text. It can be any arbitrary byte values, 0-255. How you parse it depends on what format you expect the data to be in. If it is well-formatted, you can put it in a Structure and simply access each piece of the content. Or you can pick it apart byte by byte.

Are you aware of an example somewhere?