.NET SCTP implementation
Asked Answered
W

4

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.

Whatley answered 27/12, 2009 at 15:51 Comment(0)
T
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.

Terrazas answered 29/11, 2010 at 1:36 Comment(1)
is it self-contained assembly or just binding to kernel driver?Lichi
C
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.

Centreboard answered 23/1, 2010 at 14:54 Comment(1)
Thanks but unfortunately drivers are not a feasible solution in the context of the project I'm working on.Whatley
I
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).

Inhabit answered 24/1, 2010 at 22:22 Comment(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. ThanksWhatley
U
1

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

Upbraid answered 29/12, 2009 at 5:25 Comment(4)
Unfortunately those are not viable solutions for me. Given the project I can't even consider using IKVM + Java. +1 For the effortWhatley
Any luck with this emaster70? I'd love to see code on how one accomplishes this.Upbraid
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.Whatley
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.Terrazas

© 2022 - 2024 — McMap. All rights reserved.