Skip to content

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

@danj2k

Description

@danj2k

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions