public void Start() { tcpIpServer.TcpListenPort = Port; tcpIpServer.Start(); if (port == 0) { port = tcpIpServer.GetTcpListenPort(); } }
// 启动服务端 public void Start() { _tcpIpServer.Start(); }