简体   繁体   English

是否可以将本地套接字绑定到QuickFIX / n启动器中的静态端口?

[英]Is it possible to bind the local socket to a static port in a QuickFIX/n Initiator?

QuickFIX/n listens to a "random" port when it establishes a connection. QuickFIX / n建立连接时会监听“随机”端口。 A quick Google search shows that QuickFIX/j has the config settings SocketLocalPort and SocketLocalHost that allows us to bind the local socket to a host/port. 快速的Google搜索显示,QuickFIX / j具有配置设置SocketLocalPortSocketLocalHost ,使我们能够将本地套接字绑定到主机/端口。

Is this also possible in QuickFIX/n? 在QuickFIX / n中也可以吗?

At present, I cannot see that the .NET implementation supports this configuration parameter. 目前,我看不到.NET实现支持此配置参数。 So the local port will always be ephemeral. 因此,本地端口永远都是短暂的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM