Im trying to control a Teensy 4.1 with a web interface. I'm connected to the teensy with my laptop via ethernet, later on I would also like to connect with wifi.
The teensy acts as a server, hosting the website. Now I'm trying to add two way communcation via OSC. Because the Teensy is already hosting the website it would be great if it could also provide the Websocket server which I would use to enable the OSC communication.
Is there an example how to get OSC via websocket working with the Teensy acting as the server, or are there better approaches?