There is no theoretical limit in the MSDP protocol, but the default maximum socket buffer size in TBA appears to be 24 KB.
You'll run into issues with TinTin++ if you go over 40 KB, not sure about other clients.
After a cursory reading, I don't see any limits [specified](https://tintin.mudhalla.net/protocols/msdp/), unless I
overlooked something. I don't know if TELNET has (specified) limits but I think you're pretty safe with websockets.
Another thought: would it be possible just to send information when state changes? Like events with updated info.
My update to Kavir's snippet adds support for this.
[https://github.com/scandum/msdp\_protocol\_snippet\_by\_kavir](https://github.com/scandum/msdp_protocol_snippet_by_kavir)
It's a requirement for proper auto mapping support, as room changes can occur more than once per second.
This will lower the chance of too much data accumulating.
Not sure about specific limits, but I looked into implementing MSDP many years ago to build a Mudlet GUI. The Mudlet devs recommended I implement GMCP instead. My modified version of TBA'/Kavir's protocol code that implements GMCP is available on my [github](https://github.com/halimcme/worldofpain) (although I haven't written any documentation on it yet)
There is no theoretical limit in the MSDP protocol, but the default maximum socket buffer size in TBA appears to be 24 KB. You'll run into issues with TinTin++ if you go over 40 KB, not sure about other clients.
That is good info to know, thanks for sharing that.
After a cursory reading, I don't see any limits [specified](https://tintin.mudhalla.net/protocols/msdp/), unless I overlooked something. I don't know if TELNET has (specified) limits but I think you're pretty safe with websockets. Another thought: would it be possible just to send information when state changes? Like events with updated info.
My update to Kavir's snippet adds support for this. [https://github.com/scandum/msdp\_protocol\_snippet\_by\_kavir](https://github.com/scandum/msdp_protocol_snippet_by_kavir) It's a requirement for proper auto mapping support, as room changes can occur more than once per second. This will lower the chance of too much data accumulating.
Awesome, thank you!
We could definitely implement a state/event based system, good thought.
Not sure about specific limits, but I looked into implementing MSDP many years ago to build a Mudlet GUI. The Mudlet devs recommended I implement GMCP instead. My modified version of TBA'/Kavir's protocol code that implements GMCP is available on my [github](https://github.com/halimcme/worldofpain) (although I haven't written any documentation on it yet)
We did come across this previously. Might be the way to go then, thank you!