Skip to content

Consider supporting userland SCTP-stack (libusrsctp) #1

Description

@qrlpx

As noted in sctp-sys's Readme, support of SCTP is across the board quite spotty.
Linux & BSD-distros take their sweet time to support the newest SCTP-features and on Windows, SctpDrv is also supposed to be quite wonky, I hear?

libusrsctp is feature complete, supports all major OS and is used by both Firefox and Chromium.

It might be a good idea to allow the users of rust-sctp to choose between which stack/implementation to use.
This might entail:

  • Create a usrsctp-sys crate, maybe provide a module with wrapper-fns to act as drop-in replacement for sctp-sys.
  • Add the necessary cfg-attribs and features to rust-sctp.
  • Maybe add a bunch of config-dependent freestanding functions to rust-sctp (usrsctp_[init|finish] and usrsctp_sysctl_[set|get]).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions