点击或拖拽改变大小

MqttSession 构造函数

实例化一个对象,指定ip地址及端口,以及协议内容
Instantiate an object, specify ip address and port, and protocol content

命名空间:  HslCommunication.MQTT
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public MqttSession(
	IPEndPoint endPoint,
	string protocol
)

参数

endPoint
类型:System.NetIPEndPoint
远程客户端的IP地址
protocol
类型:SystemString
协议信息
参见