I am creating a binding for the Arcam amplifier/streamer/AVR devices.
Functionally most if it is working so I’m now doing some cleanup and device specific workarounds.
In the developer guidelines I read that I’m not supposed to use my own thread and otherwise post a message here.
I now have a Thread that reads from a Socket in a while loop, as the Arcam products use raw TCP sockets for their communication.
What would be a good alternative for this to use instead of a Thread?