问题标签 [sctp]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
2124 浏览

android - android 本身是否支持 RTP 和/或 SCTP?

我正在为 Android 开发对讲机应用程序,并想知道最新版本的 android SDK 是否原生支持 RTP 和/或 SCTP。

从我到目前为止所挖掘的一切来看,答案是否定的。

似乎对 SCTP 的支持即将出现在JDK 7中。但是,我不确定这将如何与我的 android 开发人员一起使用。

您能否对此有所了解?

谢谢,

0 投票
1 回答
356 浏览

configure - 如何在 linux 中使用 sctp 网络模块构建 mpich2?

a 应该使用哪些配置选项来使用 sctp 编译 mpich2(1.1.1p1 或 1.2.1p1)?

在我的尝试中,链接 cpi.c 时出现错误(小示例)。

我的选择是

x8664secret.cross作为程序的输出getcross.c。主机、目标和此文件在这里强制交叉编译。(这是此构建的要求)

mpich2 中的 sctp 是否处于活动状态,可以编译吗?

sctp 网络模块是否支持交叉构建?

0 投票
2 回答
1166 浏览

protocols - 构建 sctp 协议 ss7 openss7

我尝试使用 openss7 和 sctp 制作一个 ss7 应用程序。
我使用 SCTP 做了一些简单的应用程序。部分源代码如下:

它返回

你有什么建议吗?
有没有人有过openss7的经验?

谢谢..

0 投票
3 回答
425 浏览

c - Problem between IO heavy operations and network application listening for UDP and SCTP data

We have an application that uses two types of socket, a listening UDP socket and an active SCTP socket.

At certain time we have scripts running on the same machine that have high IO activities (such as "dd, tar, ..."), most of the time when these IO heavy applications run we seem to have the following problems:

  • The UDP socket closes
  • The SCTP socket is still alive and we can see it in /proc/net/sctp/assocs however no traffic is received anymore from this socket (until we restart the application)

Why are these I/O operations affecting the network based application in such a way?
Is there any kernel configurations to avoid these problems?
I would have expected some packets to be lost on the UDP and some retries on the SCTP socket but not this behavior.

The application is running on a server with 64-bits 4 quad core CPU and RHEL OS

0 投票
2 回答
556 浏览

.net - .net 中没有 ip 的 tcp/ip

我知道奇怪的标题,但请听我说完。我正在寻找不使用 IP 的 TcpClient 和 TcpListener 版本。本质上,我希望能够在我选择的任何协议(UDP、ICMP、DNS、信鸽)之上使用所有 TCP 优势(可靠且有序)。

有没有办法我可以以某种方式利用 TCP 向下传递到 IP 层的内容?

谢谢,菲德尔

编辑:

我想要一个可靠的协议(例如 TCP),它可以将数据泵入流中,并从流中读取数据,而无需确切知道流如何传输该数据。

我对该流有明确的控制权。我只需要 TCP 将信息发送到该流而不是其常规底层。

0 投票
1 回答
392 浏览

c - 协议特定的套接字创建和套接字选项信息

我正在尝试创建一个 sctp 套接字,然后使用 sctp_opt_info() 检索套接字选项信息。

我成功地创建了特定的套接字,但是在套接字选项检索时,我得到的值是 -1,表示一些错误。该错误是因为 sctp_opt_info() 的参数无效。

有人可以指导我什么是错的。为什么这次通话我得到 -1 而不是 0(成功指标)

我将 val1 值设为 -1,表示存在一些问题。perror 表示 sctp_opt_info() 的参数无效。我的猜测是这个函数的第二个参数,但不确定。

任何帮助将不胜感激。

谢谢

0 投票
1 回答
531 浏览

sockets - 有一个多ip接口。如何选择其中一个来建立传出连接?

我正在使用具有多个分配 IP 地址的接口。我需要建立从这个接口到远程监听 SCTP 套接字的连接(不是在多宿主模式下)。

如何选择所需接口的 IP 作为连接源?应该使用什么标志/套接字选项?

0 投票
3 回答
2654 浏览

linux - Linux SCTP 实施现状

前段时间我在 Linux 上使用过 SCTP,现在我想在新项目中再次使用它。问题是,lksctp 似乎已经死了,自 2009 年以来没有更新(根据 git)。在这段时间里,SCTP 草案中没有什么重要的事情发生了变化,所以 lksctp 现在已经过时了(例如 API

我试图找到这个协议的其他实现,但看起来,lksctp 是唯一的一个。你有关于 Linux 上 SCTP 未来的任何信息吗?

0 投票
1 回答
777 浏览

linux - 连接后我可以使用 SCTP 使用 bindx/SCTP_SOCKOPT_BINDX_ADD 吗?

使用 SCTP 时,在我调用了 bind()(但不是 bindx() / SCTP_SOCKOPT_BINDX_ADD)并且在我调用了 connect() 之后,我可以调用 bind() 还是使用 SCTP_SOCKOPT_BINDX_ADD?

例如 -after-connecting,而不是在绑定之后和连接之前,我可以添加额外的本地 IP 地址(用于多宿主)。

0 投票
1 回答
1291 浏览

c++ - 如何将消息发送到接收期间发现的 SCTP 关联?

我有一个套接字来接收来自多个客户端的数据。

我得到每个连接的关联 ID。我的问题是如何在关联 ID 上发送响应消息而不是使用客户端地址(例如 sctp_sendmsg 没有关联 ID 参数)