点击或拖拽改变大小

TcpNetCommunication 构造函数 (String, Int32)

指定IP地址以及端口号信息来初始化对象

命名空间:  HslCommunication.Core.Net
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.1.0.0 (12.1.0.0)
语法
public TcpNetCommunication(
	string ipAddress,
	int port
)

参数

ipAddress
类型:SystemString
IP地址信息,可以是IPv4, IPv6, 也可以是域名
port
类型:SystemInt32
设备方的端口号信息
参见