点击或拖拽改变大小

NetworkServerBaseConnectHslAlientClient 方法

创建一个指定的异形客户端连接,使用Hsl协议来发送注册包
Create a specified profiled client connection and use the Hsl protocol to send registration packets

命名空间:  HslCommunication.Core.Net
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public OperateResult ConnectHslAlientClient(
	string ipAddress,
	int port,
	string dtuId,
	string password = ""
)

参数

ipAddress
类型:SystemString
Ip地址
port
类型:SystemInt32
端口号
dtuId
类型:SystemString
设备唯一ID号,最长11
password (Optional)
类型:SystemString
密码信息

返回值

类型:OperateResult
是否成功连接
参见