Hello,
is there something like socket io available for Xojo? I need a real time protocol.
What kind of socket? What are you trying to communicate with, and how?
As mentioned socket io. I have on one side Xojo as client and on the other a Raspberry running a python script as server.
Sounds like you need TCP or UDP, both of which are available in Xojo.
Unless the Pi is running as a web server, in which case you could use URLConnection.
https://documentation.xojo.com/api/networking/tcpsocket.html
https://documentation.xojo.com/api/networking/sslsocket.html
https://documentation.xojo.com/api/networking/udpsocket.html
https://documentation.xojo.com/api/networking/urlconnection.html
1 Like