Пример #1
0
        private void NewLogConnection(IAsyncResult ar)
        {
            try
            {
                var client = logServer.EndAcceptTcpClient(ar);

                var connection = new LogConnection(client, debug, connectionTracker, natter);
                connection.Process();
            }
            catch (SystemException)
            {
            }

            logServer.BeginAcceptTcpClient(NewLogConnection, null);
        }
Пример #2
0
        private void NewLogConnection(IAsyncResult ar)
        {
            try
            {
                var client = logServer.EndAcceptTcpClient(ar);

                var connection = new LogConnection(client, debug, connectionTracker, natter);
                connection.Process();
            }
            catch (SystemException)
            {
            }

            logServer.BeginAcceptTcpClient(NewLogConnection, null);
        }