点击或拖拽改变大小

DeviceServerServerStart 方法 (Int32, Boolean)

指定端口号来启动服务器的引擎
Specify the port number to start the server's engine

命名空间:  HslCommunication.Core.Device
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public virtual void ServerStart(
	int port,
	bool modeTcp = true
)

参数

port
类型:SystemInt32
指定一个端口号
modeTcp (Optional)
类型:SystemBoolean
是否使用TCP格式,如果需要UDP,则为 false
参见