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

how SCTP is better then TCP ? (in traffic scenario)

SCTP send single file using multiple stream and TCP send single file using single stream. now question is " how SCTP is better then TCP ? " (in traffic scenario)
2
votes
2 answers

Local socket option set vs pointer to socket option set

I wonder... what is the actual difference if you create a function that has a simple socket parameter and you do your basic instructions inside that function like setting different option to that socket (setsockopt()) and after the functions exist…
user3368555
2
votes
0 answers

What happens when sending an empty string with sctp_recvmsg() to a SOCK_STREAM SCTP socket?

As mentioned in SCTP receive message function returning zero, sctp_recvmsg() returns a length of 0 for a one-to-one SCTP connection (socket(PF_INET, SOCK_STREAM, IPPROTO_SCT)) when the other side closes the connection. What happens / is supposed to…
nh2
  • 24,526
  • 11
  • 79
  • 128
2
votes
2 answers

C++ usrsctp callback parameters null

I'm currently creating a network application that uses the usrsctp library on windows and I'm having an odd problem with parameters appearing as null when they shouldn't be on a callback function. I'm not sure if this is a specific usrsctp issue or…
Twisted89
  • 406
  • 5
  • 14
2
votes
1 answer

SCTP Multihoming issue

We have developed multihomed application now while testing my setup is: Eth4 as primary interface connected back to back to another machine. Eth5 as secondary interface connected back to back to another machine. I make my porimary interface down…
2
votes
1 answer

does android natively support RTP and/or SCTP?

I am developing a walkie-talkie application for Android, and would like to know whether RTP and/or SCTP is natively supported in the latest version of android SDK. From whatever I have dug-up so far, the answer is no. It seems that support for…
Chaitanya
  • 2,039
  • 4
  • 25
  • 32
2
votes
3 answers

How long is the heartbeat interval of SCTP in WebRTC?

WebRTC DataChannels use SCTP. Looking at the graph of bits received from chrome://webrtc-internals, there is a regular sending of a small amount of data. Is this the SCTP heartbeat?
Conrad
  • 86
  • 8
2
votes
3 answers

C++ network sockets, SCTP and packet size

I'm currently developing a server using connection-oriented SCTP to serve a small number of clients. After finishing the first prototype with a naive implementation, I'm now profiling the application to optimize. As it turns out, one of the two main…
awfm9
  • 197
  • 1
  • 15
2
votes
2 answers

SCTP on node.js

Is there an implementation of the SCTP (Stream Control Transmission Protocol) , also called the VOIP protocol on Node.js? Any pointers will be helpful.
cggaurav
  • 565
  • 5
  • 20
2
votes
1 answer

SCTP one-to-many in Java

I'm working in Java to create a one-to-many connection using Java and SCTP protocol. I've gotten a SctpMultiChannel up and running and I can receive messages, but is there something special needed to be done to send a message to all connections? The…
Hiny
  • 195
  • 7
  • 21
1
vote
3 answers

Is it possible to set the OWN primary address in SCTP?

I'm trying to set a SCTP connection between a server and clients (Linux). The server has several ip addresses and the outgoing ip packets are routed depending on the source addresss. I want the sctp connections use certain address by default (in…
B-K
  • 359
  • 1
  • 2
  • 9
1
vote
0 answers

SCTP How to send message from server to multiple clients

How do you identify the association id to send a message from server to a client using sctp protocol? In tcp accept(ListenSocket) -> {ok, Socket} can be used to get the socket number of the client, What is it equivalent in SCTP? Here is my server…
1
vote
0 answers

How do I disable the Kernel SCTP on Docker

I'm trying to automate my testing tool by making a Dockerfile and the tool requires me to disable the Kernel SCTP. The way I found that works for me when I was testing on VMs is add the lines blacklist sctp install sctp /bin/false To:…
1
vote
1 answer

Seagull testing with SCTP

I'm having an issue with SCTP requests in Seagull. Here's the important part:
1
vote
2 answers

Is it possible to use the same ip address with different ports, each port for a specific protocol (TCP and UDP)?

Is it possible that one application uses the same Ip @ and connects to three different applications using different protocols TCP and UDP? Best regards,
rafinf
  • 21
  • 4