Questions tagged [sctp]

Stream Control Transmission Protocol (SCTP) is a transport layer protocol providing reliable transport of data like TCP but with message oriented features like UDP.

It provides some of the same service features of both: it is message-oriented like UDP and ensures reliable, in-sequence transport of messages with congestion control like TCP.

http://en.wikipedia.org/wiki/Stream_Control_Transmission_Protocol

230 questions
214
votes
11 answers

Why is SCTP not much used/known

I recently checked out the book "UNIX Network Programming, Vol. 1" by Richards Stevens and I found that there is a third transport layer standard besides TCP and UDP: SCTP. Summary: SCTP is a transport-level protocol that is message-driven like…
dmeister
  • 34,704
  • 19
  • 73
  • 95
25
votes
3 answers

What kind of SCTP support is there on various Windows versions?

What kind of SCTP support is there on various Windows versions?
Robert S. Barnes
  • 39,711
  • 30
  • 131
  • 179
14
votes
1 answer

sctp_connectx() gives EINVAL on FreeBSD

#include #include #include #include #include #include int main(int argc,char **argv) { struct sockaddr_in remoteAddr; int clientSock =…
binary01
  • 1,728
  • 2
  • 13
  • 27
13
votes
3 answers

SCTP Multihoming

I've been developing this simple client - server application with C where the client is just sending random data to the server and the server just listens to what the client sends. The protocol I'm using is SCTP and I'm interested on how to…
13
votes
2 answers

How are data channels negotiated between two peers with WebRTC?

The WebRTC RTCPeerConnection interface has a createDataChannel method and an ondatachannel event handler. How do these interact? How do I create a single data channel that can be used to send/receive data between two peers? Also, the…
Taylor Brandstetter
  • 3,523
  • 15
  • 24
12
votes
3 answers

SCTP: any cross-platform library?

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
10
votes
2 answers

SCTP and webrtc

I saw that SCTP is going to be used for Data Channels starting in Chrome 31, and officially RTP based channels are going to be deprecated sometimes in February 2014 according to this google group…
Aki
  • 3,709
  • 2
  • 29
  • 37
10
votes
4 answers

.NET SCTP implementation

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…
em70
  • 6,088
  • 6
  • 48
  • 80
8
votes
1 answer

SCTP with Multihoming as a Drop In Replacement for TCP

SCTP has native multi-homing support which if I understand it correctly will automatically reroute your packets over a secondary NIC if the primary interface goes down. I duplicated this functionality with TCP by writing a custom routing deamon to…
Robert S. Barnes
  • 39,711
  • 30
  • 131
  • 179
8
votes
1 answer

SCTP protocol support in android

How can I use SCTP protocol in Android? I'm already aware that that Android systems don't support SCTP by default, however it's may be possible to enable it by inserting SCTP kernel module, or rebuilding the kernel with SCTP enabled in modules…
6
votes
3 answers

Windows equalivalent to eth0

Is there a generic IP device name for windows similar to "eth0" used by Linux and Solaris? I am attempting to monitor SCTP traffic, which appears to be successful passing the ip address, but this means for every machine to use this application would…
Justin Fuller
5
votes
0 answers

Turn SCTP support on Ubuntu 22.04

I am building a SCTP supporting application with Erlang and I stumbled upon some problems likely related to my machine (I tried the same code on another machine and it works just fine). I am using Ubuntu 22.04. When I try to gen_sctp:open(...) it…
4
votes
2 answers

SCTP missing include file on OSX?

I was messing around with sockets, and I wanted to test out using the SCTP protocol on my mac. However, when I try to include the file netinet/sctp.h the compiler gives me a 'file not found' error. So I did some digging, and sure enough, there is…
Richard J. Ross III
  • 55,009
  • 24
  • 135
  • 201
4
votes
3 answers

Does SCTP works as advertised using Linux?

I am planning to use SCTP for a embedded Linux project. Anybody has some comments on SCTP usage, mostly in one-to-many mode? Did it beat using a home-made UDP-based equivalent solution? I control the network environement and all devices involved, so…
0x6adb015
  • 7,473
  • 4
  • 24
  • 38
4
votes
2 answers

SCTP ordered message delivery

Is it possible to force SCTP to send all data completely ordered? Let's do this experiment: 1) Take this SCTP-discard-server and this SCTP-client. 2) Let the client count to 100 a lot of times and send a byte each time respectively to the…
user1511417
  • 1,880
  • 3
  • 20
  • 41
1
2 3
15 16