Hi all,
I have to write an app targeted for Windows & Mac, which communicates with routers over what’s known as MAC telnet. It involves writing UDP packets to broadcast (255.255.255.255) but the destination router’s MAC address, and a specific port.
While Xojo doesn’t seem to have built-in low-level sockets, MBS Network plugin has a “raw UDP socket” example, which comments “needs to run as root”. On most OSs, low-level stack access requires elevated privileges, I’m just not sure how this is done via the Xojo IDE while developing.
In short:
-
How does Xojo run and/or build with “root” permissions under macOS? (running Mojave now)
-
Does anyone have info on raw UDP sockets under Xojo? I’m getting close to building a C helper app that is then called via shell, but that’s ugly.