点击或拖拽改变大小

NetworkDoubleBasePort 属性

获取或设置服务器的端口号,具体的值需要取决于对方的配置
Gets or sets the port number of the server. The specific value depends on the configuration of the other party.

命名空间:  HslCommunication.Core.Net
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public virtual int Port { get; set; }

属性值

类型:Int32
备注
最好实在初始化的时候进行指定,当使用短连接的时候,支持动态更改,切换;当使用长连接后,无法动态更改
示例
动态更改请参照 IpAddress 属性的更改。
参见