SCTP: any cross-platform library?
I'm investigat开发者_运维问答ing SCTP protocol. Its features look attractive. What I worry is its support from community. Is there any good cross-platform (at least Linux and Windows) C++ (or at least C) SCTP library? Does it support async methods?
Not sure how well tested/working this is (never got to use it myself), but I looked at http://code.halssoftware.com/index.php/p/boostasiosctp/source/tree/master/boost a while ago. Let me know if that does anything for you.
Update: A cross platform userland stack link
Exists and is actively maintained at Münster University of Applied Sciences
Linux and Solaris both have robust Kernel implementations but Windows is dragging it's feet somewhat. There is a project to add one http://www.bluestop.org/SctpDrv/. If you try to run your own SCTP implementation alongside Kernel ones then you are likely to encounter issues with the two stacks interfering with each other.
The Kernel stacks offer comparable sockets interfaces so your application is portable across Linux / Solaris.
Regards
精彩评论