-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
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]).