Unofficial Hacker News companion — get notified on comment replies, and more.

A portable SCTP userland stack (opens external site)

42 points by mococa 2 days ago | github.com | 59 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (3)

  1. This library is a bit outdated when it comes to keeping up with the newer specs.

    I’d recommend Pion’s SCTP library instead if you okay with Go, since they try to incorporate the latest research as best they can: https://github.com/pion/sctp

    If rust is more your speed, there is also SCTP-proto that’s used by a couple of other WebRTC implementations , but that lacks some of more recent RFCs for SCTP: https://github.com/webrtc/dcsctp

    There is also an official Google rewrite in rust for their SCTP library that will eventually be included in libwebrtc (though I don’t think anyone actually uses it yet): https://github.com/webrtc/dcsctp

    Replies (1)
    1. You linked dcsctp twice!

      Also, fair warning for those wanting to use dcsctp for regular SCTP purposes, the library aims to only implement the WebRTC focused subset. It's a great library for that purpose, whether you use the original C++ version or newer experimental Rust version.

      Replies (1)
      1. Oh whoops, thanks for pointing it out! Here’s the proper link: https://github.com/algesten/sctp-proto