Tommy has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to help someone implement MNP in Perl. I've found some useful info about it by googling around. But what I've found so far are only definitions of what MNP is, and nothing about how to implement the protocol.

Using Perl, I need to be able to convert any kind of data stream into an MNP-encoded stream in order to allow my buddy to communicate with some sort of serial device. It is specifically required that I provide the answer in Perl, so pointing me to Kermit or the like isn't going to help me out here. Can somebody help me? I can't find anything telling me how to encode data to an MNP format.

--
Tommy Butler, a.k.a. TOMMY
  • Comment on Implementing MNP (Microcom Networking Protocol) in Perl

Replies are listed 'Best First'.
Re: Implementing MNP (Microcom Networking Protocol) in Perl
by traveler (Parson) on Jan 18, 2004 at 18:07 UTC
    There are, IIRC MNP-0 thru MNP-7 or some similar range. MNP-2,3, and 4 are part of V.42. If one of those is what you need maybe you can get your hands on the V.42 spec. Which of the MNP levels do you need?

    --traveler

      Thank you for your reply.

      Though I didn't know at the time of posting, I need MNP-5. Apparently my friend needs to take advantage of the compression features of that class of MNP.

      --
      Tommy Butler, a.k.a. TOMMY