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 (1)

  1. SCTP has great transport properties—message framing, multiple independent streams without head-of-line blocking across streams, and multihoming—but getting it deployed reliably in the wild has always hit two walls: inconsistent kernel support across OSes/containers and middleboxes/NATs that don't treat raw IP protocol 132 kindly.

    Running a portable userland stack like usrsctp (and encapsulating over UDP/DTLS, as WebRTC data channels popularized) solves both problems without needing kernel modules or root privileges. For anyone who has run userland transport stacks in production: how painful are timers, congestion-control tuning, and event-loop integration compared to letting the OS kernel manage socket buffers and timers?