logoalt Hacker News

valorzard • yesterday at 4:57 PM • 1 reply • view on HN

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

Orphis • yesterday at 9:49 PM

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.