10

I'm looking for a .NET implementation of the SCTP protocol. A component or a C#/F# source code would be preferred, however if no such thing is available a VB.NET source code could probably work too. The project I'm working on is targeting the .NET Framework v3.5 but anything that works with .NET v2 to v4 is welcome.

4 Answers 4

6

A .NET 4 assembly now gets installed with version 1.1.6 of SctpDrv; it provides an API that's similar to the Socket class but with new methods for SCTP.

1
  • 1
    is it self-contained assembly or just binding to kernel driver? Dec 1, 2014 at 0:28
2

I think you can use SctpDrv.

From the link

"SctpDrv is provided as a kernel driver which contains the SCTP stack. A Winsock provider dll is registered with Windows and gets called whenever an application wants to send data over SCTP. This way, the functionality is provided transparently to applications: IPPROTO_SCTP is just another protocol available in the socket (WSASocket) function call. The SCTP specific functions such as sctp_send are provided by linking to sctpsp.lib. "

I hope it helps.

1
  • Thanks but unfortunately drivers are not a feasible solution in the context of the project I'm working on.
    – em70
    Jan 26, 2010 at 19:30
2

I'm not sure if this helps you, but an alternative with some similar features to SCTP is the Lidgren Network library (C#, user-space component, custom protocol based on UDP).

1
  • I'm not really in love with the poor amount of information available and the fact that it's going one more layer up, however had I found this earlier it'd have meant saving many resources. Thanks
    – em70
    Jan 26, 2010 at 19:31
1

I wasn't able to find anything in C# but there are some implementations in C++ and Java on SourceForge.

4
  • Unfortunately those are not viable solutions for me. Given the project I can't even consider using IKVM + Java. +1 For the effort
    – em70
    Dec 29, 2009 at 9:57
  • Any luck with this emaster70? I'd love to see code on how one accomplishes this.
    – AboutDev
    Jan 7, 2010 at 5:19
  • No luck at all. Had to give up on using SCTP because in my case the cost of implementing it internally exceeded the benefits that could be obtained for using it.
    – em70
    Jan 18, 2010 at 9:35
  • 1
    I have a .NET wrapper that I'm making good progress on, that will be added to SctpDrv. I expect it to be available in the next couple of months.
    – BCran
    Oct 9, 2010 at 7:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.