The packet size is 1400 bytes.
But in c++ sdk, MAX_MESSAGE_SIZE_BYTES = 1024
And if I tried to send string with 1000+ length, the c++ sdk throws exception and cannot receive the packet.
1. Which number should I follow?
2. if there any way safe to check size before sending packet in realtime script?
Apologies for the delayed response. 1400 bytes has always been the limit on packet size and has been documented for quite a while. Can you direct us to the specific issue that you're having here ?
In c++ sdk, there is a constant defined MAX_MESSAGE_SIZE_BYTES = 1024.
And if I tried to send string with 1000+ ( < 1400) length, the c++ sdk throws exception and cannot receive the packet.
It's not a big issue, but it's not consistent with the document.
Thanks Jo. I'll look into getting this clarified.