Hi,
I've been coding for a very long time but am only just diving into the whole Swift, ARkit, RealityKit platform. I need to make a very simple iPhone ARkit app that can receive TCP or UDP messages from another computer (not iPhone) on the network and create objects in response to those messages. Real simple, for example it might receive a message that says "box" or "sphere" and would create a box or sphere object in the user's ARkit field of view and let them drop to the floor.
I think I follow all the ARkit/RealityKit stuff from reviewing various examples, but I'm not sure how to integrate receiving TCP/UDP messages into the ARkit framework. Can anyone point me to an example or docs that does TCP/UDP in an ARkit/RealityKit app? I didn't see any generic TCP/UDP samples in the switf/arkit/realitykit docs but I'm still looking. If someone can point me to them it would be a big help.