Sign In Register

How can we help you today?

Start a new topic

RT server max packet size

Hi


According to https://docs.gamesparks.com/tutorials/real-time-services/real-time-best-practices.html

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?


Jo


Thanks Jo. I'll look into getting this clarified.


Regards,

Liam

Hi Liam,


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

Hi Jo,


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 ? 


Regards,

Liam

 

Login to post a comment