点击或拖拽改变大小

HttpServerStart 方法

启动服务器,正常调用该方法时,应该使用try...catch...来捕获错误信息
Start the server and use try...catch... to capture the error message when calling this method normally

命名空间:  HslCommunication.Enthernet
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public void Start(
	int port
)

参数

port
类型:SystemInt32
端口号信息
异常
异常条件
HttpListenerException
ObjectDisposedException
参见