I built a controller with 3 rotary encoders to control various parameters of a program i wrote to control a motor. The controller delivers data via usb through serial (Arduino). Originally I used OSCOSC to move the data to the motorprogram, so I implemented the controller as an OSC server and the motorprogram as client. But eventually I needed a second program (in this case an oscilloscope) to be controlled by the rotary knobs as well, and found, that this OSC library can handle only one client at a time. So I set up the controller as an udp server and the other programs as udp clients, that run on their own threads. That was quite a hassle, but I got it working now.
Became Hot Network Question