예제 #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);
        }