Dear Community,
I'm currently working on a small personal project and i am stuck.
Right now, I’m sending small packets of information from the client to the game, and while the data transfer works fine, I’d like to improve performance.
At the moment, I'm sending multiple small packets one by one specifically, for example, I send inventory item information using a loop that sends 10 separate packets, one for each inventory cell.
What I’d like to do instead is send one larger packet that contains all 10 inventory cells at once. I’ve tried a few different approaches, but I’m not quite sure how to structure and process the combined data correctly on the receiving end.
If anyone has experience with this kind of optimization or advice on how to properly serialize and handle a batch of data in one packet, I’d really appreciate your input!
Thanks in advance!
Best Regards,
DevOverflow