点击或拖拽改变大小

MqttHelperReceiveMqttRemainingLengthT 方法

基于MQTT协议,从网络套接字中接收剩余的数据长度
Receives the remaining data length from the network socket based on the MQTT protocol

命名空间:  HslCommunication.MQTT
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public static OperateResult<int> ReceiveMqttRemainingLength<T>(
	Func<T, int, int, Action<long, long>, OperateResult<byte[]>> receive,
	T pipe
)

参数

receive
类型:SystemFuncT, Int32, Int32, ActionInt64, Int64, OperateResultByte
接收数据的方法
pipe
类型:T
实际的管道对象信息

类型参数

T
当前的管道类型

返回值

类型:OperateResultInt32
网络中剩余的长度数据
参见