sctplab/usrsctp

How to port to a new platform?

ysc3839 opened this issue · 2 comments

I'm trying to port this library to MSYS2. After fixed all errors, how to test if it works correctly? Is there any checklist?
The development branch is here: https://github.com/ysc3839/usrsctp/tree/msys2

Are you focussing on SCTP over DTLS (WebRTC use case) or SCTP over IP (signalling use case)? For generic smoke testing you can use programs/ekr_loop. It should terminate after a while without indicating a error. If you want to test other things, you can use for example the ETSI test suite. But you would have to write a sut program for it (we should actually include one, but right now don't do). See https://github.com/nplab/sctp-tests and the required SCTP test tool https://github.com/nplab/stt

I just want to use SCTP over UDP as a reliable, multi-stream protocol in a personal project. I will try running these tests before creating pull request. Thanks!