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

How to retrieve client information (assoc_id and stream number) from Ancillary Data in Erlang SCTP server?

I am new to erlang and was practicing sctp client server program to send message to one another but i am not able to respond to the client as the parameters required for sctp are different to udp or tcp, I want to know the association id and the…
2
votes
1 answer

How does unordered, unreliable SCTP implement congestion control in the browser (via webrtc)?

According to RFC 3758, Stream Control Transmission Protocol Partial Reliability Extension, Section 1.3.4, "PR-SCTP employs the same congestion control and congestion avoidance for all data traffic, whether reliable or partially reliable - this is…
Abe
  • 485
  • 5
  • 17
2
votes
3 answers

Is SCTP good for peer-to-peer apps?

I am considering using SCTP instead of TCP for a p2p app written in C. Should I do it? Also how does the speed of SCTP compare to the speed of TCP? EDIT: I found that SCTP can be tunneled over UDP with the only problem being tunneled SCTP is not…
2
votes
1 answer

Changing transport's recv and send methods

I am trying to implement a SCTP and asyncio based client using pysctp sockets. Ideally, I would like to do something like: async def sctp_client(): sock = sctp.sctpsocket_udp(socket.AF_INET) reader, writer = await…
TJR
  • 454
  • 8
  • 24
2
votes
0 answers

SCTP over UDP implementation in Netty

Is there a way to use Netty to achieve SCTP over UDP. https://www.rfc-editor.org/rfc/rfc6951 I am looking to implement both Client and Server.
cnudroid
  • 31
  • 2
2
votes
1 answer

SCTP connections between Docker containers hangs

I'm having a bit of trouble setting up Docker containers, communicating over SCTP. All the relevant files are below. After running docker-compose up, here's the output: $ docker-compose up Starting server ... done Starting client ... done Attaching…
CompEng88
  • 1,336
  • 14
  • 25
2
votes
1 answer

How to send message to a SCTP association which is found during receive?

I am having an socket to receive data from multiple clients. sockfd = socket(...); bind(sockfd, ...); listen(sockfd, ...); while (true) { nread = sctp_rcvmsg(sockfd, ..., buf, ..., &info); assoc_id = sinfo.sinfo_assoc_id; …
Sandeep
  • 21
  • 3
2
votes
0 answers

SCTP streams and messages - can I have both?

I'm using SCTP, and based on how one opens the SCTP socket, it seems like I can only have streams or messages, depending on sock_seqpacket or sock_stream. Is there any way to have both? (i.e., an SCTP connection running a mix of stream-oriented…
SoniEx2
  • 1,864
  • 3
  • 27
  • 40
2
votes
1 answer

SCTP INIT missing IPv4 address parameter

I have been testing the SCTP support on Java + lksctp. I wrote a simple client in order to see just the inital setup of a SCTP association which is basically the "INIT" and "INIT ACK". I have tested 2 ways for a Client to send the "INIT" to a SERVER…
Helio Aymoto
  • 303
  • 2
  • 5
  • 16
2
votes
1 answer

Can I with SCTP use bindx/SCTP_SOCKOPT_BINDX_ADD after connecting?

When using SCTP, after I have called bind() (but not bindx() / SCTP_SOCKOPT_BINDX_ADD) and after I have called connect(), can I then call bind() or use SCTP_SOCKOPT_BINDX_ADD? E.g. -after- connecting, rather than after binding and before connecting,…
user82238
2
votes
1 answer

Java check platform supports sctp otherwise use tcp

Because netty uses different channel initialization for SCTP and TCP, so I would like to check if the platform supports SCTP, if it does, uses SCTP otherwise uses TCP. However, I could not find any method to check this in both JDK8 or netty4.
Tiina
  • 4,285
  • 7
  • 44
  • 73
2
votes
0 answers

Is there an SCTP implementation or library that is working on Windows?

I am working on a python project that lets a client and server communicate and send data but it has to be using SCTP protocol, is there any idea where I can find such thing? I read online that Windows doesn't support SCTP. I don't mind wiriting a…
ratebaltal
  • 47
  • 6
2
votes
1 answer

Why use DTLS over SCTP?

Why use DTLS over SCTP when there is already TLS over SCTP ? Is there any (good) reason or advantage for that idea?
user1511417
  • 1,880
  • 3
  • 20
  • 41
2
votes
0 answers

Sctp File (png) Transfer over single stream

I am currently working on a SCTP server-client pair for Linux that needs to send files over one stream. This is because other streams will be used to send commands, telemetry, etc. I am using QT creator if that helps at all. It is a requirement that…
2
votes
1 answer

Decrypt SCTP-DTLS Traffic in WebRTC in Chrome

I'm trying to inspect the pakets sent over the sctp connection of webrtc datachannels in chrome on my local machine. There isnt really much information which I found about decrypting DTLS-Traffic (e.g. through wireshark). Is there a way to access …
Figedi
  • 383
  • 1
  • 2
  • 11
1 2
3
15 16