Message exceed allowed max length!
Message exceed allowed max length!
I'm currently sending objects that have 3 arrays. And at some point when there are around 20 to 30 of those objects on screen. I exceed the max allowed length. Now I heard that sending objects is bigger then arrays. So would sending one array with 3 arrays be better? Or 1 string with all those values, and divide that string at the receiving side?
Take in consideration that usually multiplayer apps send small bits of data in contrast with http-server that transfer entire documents or files. A default 4Kb limit for request is a good one 
In general I would avoid allowing more than 64Kb for client requests as this is also a "shield" againts potential hacking attacks
There is no limit on how small a request can be (if that was the question)
In general I would avoid allowing more than 64Kb for client requests as this is also a "shield" againts potential hacking attacks
There is no limit on how small a request can be (if that was the question)
Does that limit go for everything, or for each package you're sending? And my question was about:Lapo wrote:Take in consideration that usually multiplayer apps send small bits of data in contrast with http-server that transfer entire documents or files. A default 4Kb limit for request is a good one
In general I would avoid allowing more than 64Kb for client requests as this is also a "shield" againts potential hacking attacks
There is no limit on how small a request can be (if that was the question)
Now I heard that sending objects is bigger then arrays. So would sending one array with 3 arrays be better? Or 1 string with all those values, and divide that string at the receiving side?