noob question Remove bad MLLP from message

Clovertech Forums Read Only Archives Cloverleaf Tcl Library noob question Remove bad MLLP from message

  • Creator
    Topic
  • #51237
    Garry Whitley
    Participant

      I am working with a vendor and the MLLP is not correct.

    Viewing 2 reply threads
    • Author
      Replies
      • #69309
        Nate Kruse
        Participant

          If I read your question correctly, they have an extra return after each segment so the message has an empty line between each segment?

        • #69310
          Charlie Bursell
          Participant

            Looks like overkill to me Nate  ðŸ˜€

            Assuming the message is still properly MLLP wrapped, the MLP driver will still deliver a complete message linefeeds and all.  Then why not simply

            set msg [string map “n {}” [msgget $h]]

          • #69311
            Nate Kruse
            Participant

              Charlie Bursell wrote:

              Looks like overkill to me Nate

          Viewing 2 reply threads
          • The forum ‘Tcl Library’ is closed to new topics and replies.