Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: New (possibly yet another) SLIP framing library, a Stream decorator

  1. #1
    Senior Member
    Join Date
    Mar 2017
    Oakland, CA, USA

    New (possibly yet another) SLIP framing library, a Stream decorator

    Framing (say over a serial port or over some streamed connection) is often necessary so that data doesn't become unsynchronized, and also for relaying packets with a known amount of data. I've been using SLIP to do this (RFC 1055) (with some extra stuff to transfer UDP packet information such as length and source address) for a while now, and thought some publicly-released code would be useful to some.

    Some of the details, such as what to do with possible protocol violations mixed in with frame END marker handling, have different approaches. This library provides my approach to handling these conditions. It does one thing only: decorates a Stream object and tries to get as many details right as cleanly as it can. See the README for lots more information.

    Suggestions welcome.


  2. #2
    Join Date
    Apr 2020
    Germany, NRW
    Hi, i bit old this thread, nevertheless i find this interesting. Adding one example how to use to the repo would be helpful i think.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts