Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: add zlib stream decompression as a telnet option for MCCP2 #153

Open
danj2k opened this issue Dec 16, 2024 · 0 comments
Open

Comments

@danj2k
Copy link

danj2k commented Dec 16, 2024

As Zimodem natively supports standard telnet protocol, one of the possible use cases for it is connecting to a MUD.

Back in the early 2000s when computing power was becoming more readily available but Internet bandwidth was still at a premium, a protocol called MCCP2 was introduced which provides MUD servers with the ability to compress their outputs.

While bandwidth is less of an issue nowadays, many MUDs still support and actively use MCCP2, with some even providing additional benefits for players who enable it.

MCCP2 is implemented as a telnet option (86) and allows for communication from the server to the client (but not in the other direction) to take place in a zlib-compressed stream (e.g. see https://tintin.mudhalla.net/protocols/mccp/ for details).

It would not need the whole of zlib to be included, just a sufficient proportion to be able to decompress a zlib-compressed stream. There already exist a few libraries which provide this kind of minified implementation which may be suitable for use on a microcontroller platform, such as miniz for example.

@danj2k danj2k changed the title Feature request: add zlib deflate stream decompression as a telnet option for MCCP2 Feature request: add zlib stream decompression as a telnet option for MCCP2 Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant