| CommunicationServerServerStart 方法 (Int32, Boolean) | 
 
            指定端口号来启动服务器的引擎
            Specify the port number to start the server's engine
            
 
        命名空间: 
     HslCommunication.Core.Net
        程序集:
     HslCommunication (在 HslCommunication.dll 中) 版本:12.5.1.0 (12.5.1.0)
 语法
语法public void ServerStart(
	int port,
	bool modeTcp
)
Public Sub ServerStart ( 
	port As Integer,
	modeTcp As Boolean
)
public:
void ServerStart(
	int port, 
	bool modeTcp
)
member ServerStart : 
        port : int * 
        modeTcp : bool -> unit 
参数
- port
- 类型:SystemInt32
 指定一个端口号
- modeTcp
- 类型:SystemBoolean
 是否使用TCP格式,如果需要UDP,则为 false
 参见
参见