logoalt Hacker News

Sean-Der • yesterday at 5:31 PM • 2 replies • view on HN

I have a huge soft spot for SCTP, I think it's a wonderful protocol.

It's such a fun/clever hack that you can run it over UDP as well. It felt the best case for both worlds.

I wrote a little bit about it here[0] I am still hoping to interview one of the protocol authors. It would be cool to hear the motivations, hopes and compromises it took to make it happen.

[0] https://webrtcforthecurious.com/docs/07-data-communication


Replies

tptacek • yesterday at 6:41 PM

Is it a hack, or is it an attempt to correct the fatal mistake of the protocol? Running SCTP directly off the top of IP was such a weird decision. This is literally the reason UDP exists: to make it possible to create arbitrary new IP protocols! And they eschewed it, and it became undeployable.

➕ show 4 replies
atribecalledqst • yesterday at 9:02 PM

It prominently appears in W. Richard Stevens' "UNIX Network Programming" which I learned C and sockets programming from. So I have exercises written using SCTP - I forget what libraries I used at the time. Most of my work was on a FreeBSD VM, I think - and I might have installed a userland Linux library for it.

I can't be the only one who knows it for this exact reason...