MqttSyncClient 构造函数 (String, Int32) |
通过指定的ip地址及端口来实例化一个同步的MQTT客户端
Instantiate a synchronized MQTT client with the specified IP address and port
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public MqttSyncClient(
string ipAddress,
int port
)
Public Sub New (
ipAddress As String,
port As Integer
)
public:
MqttSyncClient(
String^ ipAddress,
int port
)
new :
ipAddress : string *
port : int -> MqttSyncClient
参数
- ipAddress
- 类型:SystemString
IP地址信息 - port
- 类型:SystemInt32
端口号信息
参见