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
1
vote
0 answers

Audio streaming in Android : what are my options?

I would like to build a Client/Server mobile application where the Server stream a list of audio files to all clients who are connected to it. I did some research on this topic and I have found that SCTP protocol could provide such functionality…
sasuke
  • 145
  • 1
  • 10
1
vote
1 answer

how to use gen_sctp:send/3

I am making an example when using gen_sctp create soscket and associates in server-client model. In server side: {ok,serverSocket} = gen_sctp:open(1234,[{ip,{127,0,0,1}},{reuseaddr,true},{active,true}]). ok = gen_sctp:listen(S,true). In client…
Kevin
  • 37
  • 1
  • 6
1
vote
1 answer

how to add an SCTP port using firewall-cmd in CentOS

I want to open an SCTP port on a firewall using firewall-cmd command on CentOS7.1 server I have tried to add by using firewall-cmd --zone=public --permanent --add-port=portnumber/sctp I am getting an error response.. Error: INVALID_PROTOCOL:…
Amani Musomba
  • 11
  • 1
  • 4
1
vote
1 answer

Which kind of protocol packet that RTCDataChannel use to init the connection?

I know RTCDataChannel is using SCTP to init the connection but seems to it doesn't use SCTP packet (which have DATA Chunk,etc..) to init the connection, it use SDP packet. When I tried with this demo and see the console it send the packet like…
Bui Quang Huy
  • 1,784
  • 2
  • 17
  • 50
1
vote
1 answer

Can someone help me in understanding the SCTP stats captured on linux

I am new to SCTP protocol and trying to figure out how to interpret the SCTP stats captured by /proc/net/sctp The output shows something like this. 2016-04-26 07:21:17 ASSOC SOCK STY SST ST HBKT ASSOC-ID TX_QUEUE RX_QUEUE UID INODE LPORT RPORT…
1
vote
0 answers

SCTP : java.net.ConnectException: Connection refused

I'm trying to implement a SCTP connection, everything works fine from the server's side but when I run the client program I get the following error: java.net.ConnectException: Connection refused at sun.nio.ch.SctpNet.connect0(Native Method) …
1
vote
0 answers

java.net.SocketException: Protocol not supported

I am trying to create a SCTP application. I wrote a sample code to test if SCTP is supported on Ubuntu 14.04 with libsctp-dev installed. public class TestSctp { public static void main(String[] args){ try { …
tej
  • 73
  • 12
1
vote
1 answer

Restcomm jDiameter: Error creating SCTP socket

I am trying to create a standalone SCTP diameter client using Jdiameter. The jar libraries I am using are jdiameter-api-1.5.9.0-build538-SNAPSHOT and jdiameter-impl-1.5.9.0-build538-SNAPSHOT But I get this error Unable to create server socket for…
tej
  • 73
  • 12
1
vote
2 answers

Setting differing send and receive kernel buffer sizes

What disadvantages (or advantages) are there to setting different values for a send and receive buffer on opposite sides of a connection? It seems to make the most sense (and the norm) to keep these values the same. But if one side (say the sender…
mdnghtblue
  • 1,117
  • 8
  • 27
1
vote
1 answer

Cannot link sctp binary

I'm doing a network C library and I want to support also SCTP. I have in this file wrapper_socket_functions.c /*SCTP WRAPPER */ void Sctp_bindx(int sd, struct sockaddr *addrs, int addrcnt, int flags) { int rbindx = sctp_bindx(sd, addrs, addrcnt,…
user3368555
1
vote
1 answer

Python2.6 SCTP send and recieve hex values through sctp sockets

I am trying to do sctp programming using Python2.6 and pysctp package. I was able to capture the message from the server but was not able to extract the hex dump of the received message from sctp socket. And how to send my responseHex as response…
Ashwin
  • 993
  • 1
  • 16
  • 41
1
vote
1 answer

JDiameter and SCTP throw SCTPManagement exception

I am trying to build an application that provides an S6 endpoint over SCTP. I am currently using jDiameter 1.7.0-SNAPSHOT and SCTP 1.5.0, bundled in an EAR that gets deployed to wildfly 8. I already tried with 1.6.0.Final, but have the same…
mbauer
  • 183
  • 10
1
vote
1 answer

bss_dgram.c(1041): OpenSSL internal error, assertion failed: auth_data

I am trying to achieve DTLS over SCTP using OpenSSL with c++ on Linux (Fedora21 x86_64) Problematic Code: BIO *sbio=BIO_new_dgram_sctp( m_sctp_socket,BIO_NOCLOSE) Could you please let me know on why OpenSSL is asserting ? Crashing frame: #0 …
1
vote
1 answer

parameter values of usrsctp data received callback became nonsense

I am recently working on a project based on usrsctp. When creating a new SCTP socket, one can specify a callback function which will be called when new data is available as shown in the code below. create a new SCTP socket: struct socket *s =…
xhs
  • 31
  • 5
1
vote
1 answer

Cannot open SCTP Socket with socket type SOCK_DGRAM

int sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_SCTP); the returned error is 93 on CentOS 3.2.63 and 10043 on windows 8 which means Protocol not supported. But I can open the socket successfully with socket type SOCK_RAW,SOCK_STREAM. Can't open with…
Tahlil
  • 2,680
  • 6
  • 43
  • 84