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.

em70
  • 6,088
  • 6
  • 48
  • 80

4 Answers4

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.

BCran
  • 1,921
  • 19
  • 16
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.

Aditya Sehgal
  • 2,867
  • 3
  • 27
  • 37
  • Thanks but unfortunately drivers are not a feasible solution in the context of the project I'm working on. – em70 Jan 26 '10 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).

Jared Thirsk
  • 1,237
  • 17
  • 17
  • 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 '10 at 19:31
1

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

AboutDev
  • 1,923
  • 1
  • 23
  • 33
  • 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 '09 at 09:57
  • Any luck with this emaster70? I'd love to see code on how one accomplishes this. – AboutDev Jan 07 '10 at 05: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 '10 at 09: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 09 '10 at 07:52