点击或拖拽改变大小

NetworkDoubleBaseDecideWhetherQAMessage 方法

决定当前的消息是否是应答机制的消息内容,需要在客户端进行重写实现,如果是应答机制,返回 True, 否则返回 False
To determine whether the current message is the message content of the response mechanism, it needs to be rewritten on the client side. If it is the response mechanism, return True, otherwise return False

命名空间:  HslCommunication.Core.Net
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
protected virtual bool DecideWhetherQAMessage(
	Socket socket,
	OperateResult<byte[]> receive
)

参数

socket
类型:System.Net.SocketsSocket
通信使用的网络套接字
receive
类型:HslCommunicationOperateResultByte
服务器返回的内容

返回值

类型:Boolean
是否应答机制的数据报文
参见