Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET SCTP implementation

Tags:

.net

sockets

sctp

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.

like image 268
em70 Avatar asked Dec 27 '09 15:12

em70


4 Answers

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.

like image 91
BCran Avatar answered Nov 17 '22 16:11

BCran


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.

like image 39
Aditya Sehgal Avatar answered Nov 17 '22 15:11

Aditya Sehgal


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).

like image 2
Jared Thirsk Avatar answered Nov 17 '22 16:11

Jared Thirsk


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

like image 1
AboutDev Avatar answered Nov 17 '22 16:11

AboutDev