public void Start() { tcpServer = new TcpServer(IPAddress.Any, Port); tcpServer.Start(); tcpServer.BeginAcceptTcpClient(new System.AsyncCallback(OnAccept), tcpServer); }