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

SCTP echo server code: Byteorder warning messages

So here is the code for an SCTP echo-server program using Linux GCC: #include #include #include #include #include #include #include #include #include…
Phat_Albert
  • 119
  • 2
  • 13
0
votes
2 answers

Linux Kernel on TCP and SCTP

I want to research the transport layer protocol of SCTP. Is it possible to replace the tcp with sctp in linux kernel and That applications can send messages via sctp transparently? After Googled, I did not get some information on this topic. But, I…
user1111073
  • 39
  • 1
  • 3
  • 10
0
votes
2 answers

Setsockopt() returning error number 10042

So I am getting started with SCTP and have written the basics of the SCTP server application(which I intend to modify to make it a peer-to-peer app). The code is incomplete but I compiled and ran it to test the socket options and the first…
Mr X
  • 336
  • 1
  • 6
  • 22
0
votes
1 answer

Socket.io/Node.js & SCTP?

I am developing an web application that will use web sockets to dynamically update the website for the user. The idea is to have changes in the back-end engine be dynamically transmitted. In order to do that, I want to use a Node.js server as a link…
awfm9
  • 197
  • 1
  • 15
0
votes
1 answer

Why must endpoints manage conversions between bytes sent and received TSNs sent and received in SCTP congestion control?

As stated in RFC 3286: "...endpoints must manage the conversion between bytes sent and received and TSNs sent and received, since TSN is per chunk rather than per byte". How does this affect the congestion control algorithm?
Benny
0
votes
1 answer

sctp_bindx (Solaris sctp library) always return "Invalid argument"

I am writing a SCTP test program in Solaris OS, and use Solaris native SCTP stack. The program likes this: if ((fd = socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP)) < 0) { perror("socket"); } addr.sin_family = AF_INET; addr.sin_port =…
Nan Xiao
  • 16,671
  • 18
  • 103
  • 164
0
votes
1 answer

getOutputStream / getInputStream via sctp protocol

How to Returns an output stream for SCTP socket? for example in TCP (socket.getOutputStream). but how in SCTP? I've tried to searching, but I did not find a solution.
0
votes
1 answer

C: Data forwarding server using epoll ET fills the send buffer

I have the following situation. My server receives data from remote server (fd_server) and forwards it to the client (fd_client). I'm using edge triggered epoll so I can handle multiple clients and multiple server conncetions. Procedure: client…
jureso
  • 21
  • 3
0
votes
1 answer

SCTP association

I'm trying to build an SS7 network entity that uses sctp, my question is how should I design the routing table used to route to each association in both route on GT or route on PC. So for example let's say that this entity is connected to 2 STPs, 2…
user1832809
  • 71
  • 11
0
votes
1 answer

Develop application over SCTP

We are starting development of an application that will use SCTP protocol both as client and server. As per documentation it seems that SCTP is included in Netty 4.0. Can we use Netty 4.0 now for development for SCTP?
0
votes
1 answer

Advice on use of SCTP for sending BULK SMS over IP instead of PHYSICAL LINES

I am investigating SCTP and whether its useful for sending BULK SMS BUSSINESS in any way.So far my efforts have gone vain.I am not from telecom background. So have faced some challeges to get acquainted.Perhaps any point of advice to use…
prem
  • 1
0
votes
1 answer

How do I set SCTP_MAX_BURST for an association?

I am trying to set SCTP_MAX_BURST using the following code struct sctp_assoc_value assocValue; memset(&assocValue, 0, sizeof(assocValue)); assocValue.assoc_value = getMaxBurstValue(); setsockopt (fd, IPPROTO_SCTP, SCTP_MAX_BURST, &assocValue, sizeof…
jhon
  • 87
  • 2
  • 10
-1
votes
1 answer

Erlang Hash Tree

I'm working on a p2p app that uses hash trees. I am writing the hash tree construction functions (publ/4 and publ_top/4) but I can't see how to fix publ_top/4. I try to build a tree with publ/1: nivd:publ("file.txt"). prints hashes... ** exception…
andreasw
  • 511
  • 9
  • 21
-1
votes
1 answer

SCTP ABORT INIT in some version ubuntu

My sctp client cannot connect to sctp server in some version ubuntu ( 16.04 lts, 18.04 lts) but work well in ubuntu 17.10 or centos 7.Server send ABORT chunk as response on INIT. i tried both netty sctp lib and sun sctp lib for sample server and…
-1
votes
1 answer

Client doesn't connect to server

I have some server and client code that use nio in java. When I try connected to the server sctpChannel.connect(new InetSocketAddress("127.0.0.1",4545)); returns false. And selector.select() returns 0 . I can't figure out why it happens. public…
1 2 3
15
16