Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我开始使用freeDiameter。我一遍又一遍地浏览文档,但没有找到任何配置变量来设置作为客户端连接时的源端口。
我的目标是连接到 HSS,这要求我的传出 SCTP 的源端口为 3893,目标端口为 3868。
有没有我错过的配置变量?
我们只能在“freediameter”中配置服务器端端口。当我们创建客户端套接字时,系统将分配一个端口作为源端口。如果你想指定客户端的端口,你应该使用bind()将端口(3893)与你的客户端套接字绑定。
bind()