点击或拖拽改变大小

DeviceServerServerStart 方法 (Int32, Int32)

指定一个TCP端口及UDP端口,同时启动两种模式的服务器
Specify a TCP port and a UDP port to start the server in both modes at the same time

命名空间:  HslCommunication.Core.Device
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.1.1.0 (12.1.1.0)
语法
public void ServerStart(
	int tcpPort,
	int udpPort
)

参数

tcpPort
类型:SystemInt32
tcp端口
udpPort
类型:SystemInt32
udp端口
参见