点击或拖拽改变大小

PipeTcpNetCloseOnRecvTimeOutTick 属性

当因为接收超时而关闭连接的时候,获取或设置超过指定次数的时候,是否需要重新连接
When the connection is closed due to a reception timeout, and when the number of retrieves or Settings exceeds the specified limit, is it necessary to reconnect

命名空间:  HslCommunication.Core.Pipe
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.3.1.0 (12.3.1.0)
语法
public int CloseOnRecvTimeOutTick { get; set; }

属性值

类型:Int32
备注
需要注意的是,当异步方法通信的时候,是不支持的,异步方法会自动处理连接的关闭和重新连接,如果小于0,则接收数据超时的次数无论多少,都不再关闭连接
参见