12

I'm investigating 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?

Andriy Tylychko
  • 15,967
  • 6
  • 64
  • 112
  • 1
    I am not sure if you are willing to pay for this library but CCPU/Radisys has a platform independent library for SCTP. Their libraries works on win,linux,solaris and vx works. You can check it out at (http://www.ccpu.com/trillium-protocol-software-products/all-protocols-list/sctp-stream-control-transmission-protocol/) – Aditya Sehgal Jul 15 '11 at 03:57
  • I haven't found their prices, do you know how much it costs? – Andriy Tylychko Jul 15 '11 at 06:51
  • No. I guess you will have to send a mail at sales@ccpu.com. – Aditya Sehgal Jul 17 '11 at 10:08

3 Answers3

4

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.

Femi
  • 64,273
  • 8
  • 118
  • 148
  • +1: great, I didn't expect to find **Boost.Asio** adapter, will have a look at it – Andriy Tylychko Jul 08 '11 at 13:57
  • found [this discussion](http://comments.gmane.org/gmane.comp.lib.boost.asio.user/3964). seems `SCTP` adapter for `Boost.Asio` is not ready and nobody knows when it will be – Andriy Tylychko Jul 08 '11 at 15:00
  • Ah: it looked incomplete, but hadn't dug deeper. Well, you may want to try http://www.sctp.de/sctp-download.html instead then. It claims *nix/*BSD/Windows support, but that one really is a wild guess on my part as to whether it will do what you want. – Femi Jul 08 '11 at 15:05
3

Update: A cross platform userland stack link

Exists and is actively maintained at Münster University of Applied Sciences

JCR000
  • 966
  • 9
  • 11
2

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

Howard May
  • 6,639
  • 9
  • 35
  • 47