Open loopier opened 9 months ago
There is a maximum size for UDP packets (on top of which the OSC protocol is usually implemented). It is platform-dependent, and may be as big as nearly 64kb on Windows or ~1500 bytes on some other platforms, like Linux. Can you print out the length of the string you're trying to send back, to have an idea where it's failing on your machine?
Hmm, try this to see the current MTU on Linux:
$ ifconfig | grep mtu
Here is how you can change it: https://linuxhint.com/how-to-change-mtu-size-in-linux/
Out of curiosity, another thing you could try is (maybe only 1500 will work on your machine?):
$ ping localhost -f -l 65500 # this works on my Windows machine
In the previous version (for Godot 3.x), sending back an OSC message to the sender crashed the app if the args string was too long. We need to check if this happens in this version, also.