Page 1 of 1

OSC Message Large strings

Posted: 04 May 2018, 10:02
by Eric_RD
Is there a maximum number of characters you can send within an OSC string?
I am sending Json Data Objects which are dynamically filled by user Input and somewhere around 10.000 Characters the OSC Message is not received anymore.
Delete some Objects to shorten the string and everything is fine again. But as it is dependent on user Input I can't foresee the real size.
Theoretically possible in the Program right now are around 40.000 Characters.
Regards, Eric

Re: OSC Message Large strings

Posted: 04 May 2018, 10:14
by lerou
Yes, OSC messages are limited in size. If the size is too large, data is not split and sent via seperate messages, it just fails. I've stumbled upon this when using OSC images. I can't tell you the exact size, though. You'd have to manually split your data, send it via several OSC messages and put it back together. Or use a different protocol altogether.

cheers,
rou

Re: OSC Message Large strings

Posted: 04 May 2018, 11:12
by Eric_RD
Hmmm I will go for TCP/Telnet then.

Thanks for the quick reply anyway =)