static void WorkThread() { while (!m_bExit) { Thread.Sleep(16); m_ConnectManager.Tick(); m_ConnectManager.Select(); m_ConnectManager.ProcessError(); m_ConnectManager.ProcessInput(); m_ConnectManager.ProcessCommands(); //Logic Tick m_ConnectManager.ProcessOutput(); } m_ConnectManager.ClearInstance(); }